summaryrefslogtreecommitdiff
path: root/sys/dev/midi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/midi.c')
-rw-r--r--sys/dev/midi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/midi.c b/sys/dev/midi.c
index 4f1cb931a9c..35dc9e8bb27 100644
--- a/sys/dev/midi.c
+++ b/sys/dev/midi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: midi.c,v 1.14 2006/04/16 03:24:27 jsg Exp $ */
+/* $OpenBSD: midi.c,v 1.15 2006/11/01 03:37:23 tedu Exp $ */
/*
* Copyright (c) 2003, 2004 Alexandre Ratchov
@@ -350,7 +350,7 @@ midipoll(dev_t dev, int events, struct proc *p)
int s, revents;
if (sc->isdying)
- return EIO;
+ return POLLERR;
revents = 0;
s = splaudio();