Make kqueue(2) work for virtual terminals.

PR:		40486
Submitted by:	Jilles Tjoelker <jilles+fbsd-bugs@stack.nl>
This commit is contained in:
Kelly Yancey 2002-10-17 05:48:56 +00:00
parent 271e5003bd
commit 30c0d52181
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105310

View file

@ -221,7 +221,8 @@ static struct cdevsw sc_cdevsw = {
/* maj */ CDEV_MAJOR,
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY,
/* flags */ D_TTY | D_KQFILTER,
/* kqfilter */ ttykqfilter
};
int