diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-11-28 13:22:57 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-11-28 13:22:57 +0000 |
commit | fffc0161dcdf0bb2d4fc182ec87e78e88c9cea6d (patch) | |
tree | 1bcddd1206e1850827e6f356a00619ba8cea40b4 /sys/dev/ic | |
parent | 67b970afb3f6bbb0f4b0e3590baad6da98d411ce (diff) |
unhandled ioctls return ENOTTY, not 0
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/mpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c index 53c74899df0..f96f7551db9 100644 --- a/sys/dev/ic/mpi.c +++ b/sys/dev/ic/mpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpi.c,v 1.80 2006/11/28 12:54:12 dlg Exp $ */ +/* $OpenBSD: mpi.c,v 1.81 2006/11/28 13:22:56 dlg Exp $ */ /* * Copyright (c) 2005, 2006 David Gwynne <dlg@openbsd.org> @@ -1323,7 +1323,7 @@ mpi_minphys(struct buf *bp) int mpi_scsi_ioctl(struct scsi_link *a, u_long b, caddr_t c, int d, struct proc *e) { - return (0); + return (ENOTTY); } u_int32_t |