From fffc0161dcdf0bb2d4fc182ec87e78e88c9cea6d Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Tue, 28 Nov 2006 13:22:57 +0000 Subject: unhandled ioctls return ENOTTY, not 0 --- sys/dev/ic/mpi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/ic/mpi.c') 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 @@ -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 -- cgit v1.2.3