From 182a9f7455d4eb8aaacca87f0c9384376653d0fb Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Mon, 3 Mar 2003 16:24:47 +0000 Subject: Make nokqfilter() return the correct return value. Ditch the D_KQFILTER flag which was used to prevent calling NULL pointers. --- sys/dev/rc/rc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/rc') diff --git a/sys/dev/rc/rc.c b/sys/dev/rc/rc.c index eb023d8ba38e..07c0c5b913c7 100644 --- a/sys/dev/rc/rc.c +++ b/sys/dev/rc/rc.c @@ -154,7 +154,7 @@ static struct cdevsw rc_cdevsw = { .d_poll = ttypoll, .d_name = "rc", .d_maj = CDEV_MAJOR, - .d_flags = D_TTY | D_KQFILTER, + .d_flags = D_TTY, .d_kqfilter = ttykqfilter, }; -- cgit v1.2.3