summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty_cons.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-03-03 16:24:47 +0000
committerphk <phk@FreeBSD.org>2003-03-03 16:24:47 +0000
commitb67232b68cdcbb54dc3a2311609828aced7ecc25 (patch)
tree882ecd3451f5d9cf0721da1f4041961ac8528fe7 /sys/kern/tty_cons.c
parent8b25734b0597b951f2979117d6d4848fbca61813 (diff)
downloadFreeBSD-src-b67232b68cdcbb54dc3a2311609828aced7ecc25.zip
FreeBSD-src-b67232b68cdcbb54dc3a2311609828aced7ecc25.tar.gz
Make nokqfilter() return the correct return value.
Ditch the D_KQFILTER flag which was used to prevent calling NULL pointers.
Diffstat (limited to 'sys/kern/tty_cons.c')
-rw-r--r--sys/kern/tty_cons.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/tty_cons.c b/sys/kern/tty_cons.c
index e536b45..cd5c84f 100644
--- a/sys/kern/tty_cons.c
+++ b/sys/kern/tty_cons.c
@@ -79,7 +79,7 @@ static struct cdevsw cn_cdevsw = {
.d_poll = cnpoll,
.d_name = "console",
.d_maj = CDEV_MAJOR,
- .d_flags = D_TTY | D_KQFILTER,
+ .d_flags = D_TTY,
.d_kqfilter = cnkqfilter,
};
OpenPOWER on IntegriCloud