aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sab/sab.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-03-03 16:24:47 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-03-03 16:24:47 +0000
commit182a9f7455d4eb8aaacca87f0c9384376653d0fb (patch)
tree882ecd3451f5d9cf0721da1f4041961ac8528fe7 /sys/dev/sab/sab.c
parent69ea8786d643b174390c447a77846fb0c61fb9af (diff)
downloadsrc-182a9f7455d4eb8aaacca87f0c9384376653d0fb.tar.gz
src-182a9f7455d4eb8aaacca87f0c9384376653d0fb.zip
Make nokqfilter() return the correct return value.
Ditch the D_KQFILTER flag which was used to prevent calling NULL pointers.
Notes
Notes: svn path=/head/; revision=111821
Diffstat (limited to 'sys/dev/sab/sab.c')
-rw-r--r--sys/dev/sab/sab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sab/sab.c b/sys/dev/sab/sab.c
index 56fd6ea7b801..362e8b72a354 100644
--- a/sys/dev/sab/sab.c
+++ b/sys/dev/sab/sab.c
@@ -168,7 +168,7 @@ static struct cdevsw sabtty_cdevsw = {
.d_poll = ttypoll,
.d_name = "sabtty",
.d_maj = MAJOR_AUTO,
- .d_flags = D_TTY | D_KQFILTER,
+ .d_flags = D_TTY,
.d_kqfilter = ttykqfilter,
};