summaryrefslogtreecommitdiff
path: root/sys/dev/cons.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/cons.c')
-rw-r--r--sys/dev/cons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cons.c b/sys/dev/cons.c
index 0d2125d4453..b9130b402bf 100644
--- a/sys/dev/cons.c
+++ b/sys/dev/cons.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cons.c,v 1.15 2005/12/30 18:11:25 miod Exp $ */
+/* $OpenBSD: cons.c,v 1.16 2005/12/31 21:22:34 miod Exp $ */
/* $NetBSD: cons.c,v 1.30 1996/04/08 19:57:30 jonathan Exp $ */
/*
@@ -240,7 +240,7 @@ cnkqfilter(dev, kn)
return (1);
else
dev = cn_tab->cn_dev;
- if (cdevsw[major(dev)].d_type & D_KQFILTER)
+ if (cdevsw[major(dev)].d_flags & D_KQFILTER)
return ((*cdevsw[major(dev)].d_kqfilter)(dev, kn));
return (1);
}