diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2011-07-04 17:12:54 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2011-07-04 17:12:54 +0000 |
commit | 4d65097e63b7e2b8e39cbcfeaebb6b07a464ff58 (patch) | |
tree | 4c3fd4cf4e8d40c9eeb4f126137f755f9b350c70 /sys/miscfs | |
parent | 28fb00a40c23510fdaef09a298f23df86b8569c8 (diff) |
Fix another kqfilter return value.
ok deraadt
Diffstat (limited to 'sys/miscfs')
-rw-r--r-- | sys/miscfs/specfs/spec_vnops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c index 0facb5b3a32..faae895fb1f 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.64 2011/07/04 16:52:41 nicm Exp $ */ +/* $OpenBSD: spec_vnops.c,v 1.65 2011/07/04 17:12:53 nicm Exp $ */ /* $NetBSD: spec_vnops.c,v 1.29 1996/04/22 01:42:38 christos Exp $ */ /* @@ -398,7 +398,7 @@ spec_kqfilter(void *v) dev = ap->a_vp->v_rdev; if (cdevsw[major(dev)].d_kqfilter) return (*cdevsw[major(dev)].d_kqfilter)(dev, ap->a_kn); - return (1); + return (EOPNOTSUPP); } /* |