summaryrefslogtreecommitdiff
path: root/sys/dev/audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/audio.c')
-rw-r--r--sys/dev/audio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/audio.c b/sys/dev/audio.c
index bb693256e28..66a825312e3 100644
--- a/sys/dev/audio.c
+++ b/sys/dev/audio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: audio.c,v 1.112 2011/06/06 06:13:45 deraadt Exp $ */
+/* $OpenBSD: audio.c,v 1.113 2011/07/02 22:20:07 nicm Exp $ */
/* $NetBSD: audio.c,v 1.119 1999/11/09 16:50:47 augustss Exp $ */
/*
@@ -3309,7 +3309,7 @@ audiokqfilter(dev_t dev, struct knote *kn)
kn->kn_fop = &audiowrite_filtops;
break;
default:
- return (1);
+ return (EINVAL);
}
kn->kn_hook = (void *)sc;