summaryrefslogtreecommitdiff
path: root/sys/miscfs/specfs/spec_vnops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/miscfs/specfs/spec_vnops.c')
-rw-r--r--sys/miscfs/specfs/spec_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c
index abd1dfa98c8..04065b17bd7 100644
--- a/sys/miscfs/specfs/spec_vnops.c
+++ b/sys/miscfs/specfs/spec_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spec_vnops.c,v 1.30 2005/12/29 20:00:52 pedro Exp $ */
+/* $OpenBSD: spec_vnops.c,v 1.31 2005/12/31 21:22:35 miod Exp $ */
/* $NetBSD: spec_vnops.c,v 1.29 1996/04/22 01:42:38 christos Exp $ */
/*
@@ -482,7 +482,7 @@ spec_kqfilter(v)
dev_t dev;
dev = ap->a_vp->v_rdev;
- if (cdevsw[major(dev)].d_type & D_KQFILTER)
+ if (cdevsw[major(dev)].d_flags & D_KQFILTER)
return (*cdevsw[major(dev)].d_kqfilter)(dev, ap->a_kn);
return (1);
}