Make kqueue(2) work for virtual terminals.

PR:		40486
Submitted by:	Jilles Tjoelker <jilles+fbsd-bugs@stack.nl>
This commit is contained in:
kbyanc 2002-10-17 05:48:56 +00:00
parent 5825c5cfa4
commit 35c72bc070

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