summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/midway.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/midway.c b/sys/dev/ic/midway.c
index 1bcaef7a029..08269686b07 100644
--- a/sys/dev/ic/midway.c
+++ b/sys/dev/ic/midway.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: midway.c,v 1.37 2006/03/25 22:41:43 djm Exp $ */
+/* $OpenBSD: midway.c,v 1.38 2008/10/03 19:56:24 brad Exp $ */
/* (sync'd to midway.c 1.68) */
/*
@@ -1166,7 +1166,7 @@ caddr_t data;
break;
default:
- error = EINVAL;
+ error = ENOTTY;
break;
}
splx(s);