diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2008-10-03 19:56:25 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2008-10-03 19:56:25 +0000 |
commit | 9cc9fb410777526def4f80ff1537f29048389ae1 (patch) | |
tree | 37f466fef5ebe089f8265f239e1cf58b3341b31f /sys | |
parent | 32c15e16d2731487de12fcd44d6bbdea44de913a (diff) |
Return ENOTTY for unknown ioctl's.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/midway.c | 4 |
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); |