summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2007-03-20 03:31:25 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2007-03-20 03:31:25 +0000
commit71bbdcef71d2fc789e99e7d74ac8796942814f9f (patch)
treeacd0064acaf336f53784077bf85c9f430db220ee
parenta0fd6292c143af7a9ba853a814ccc8d0dfba0447 (diff)
Hook up sd ioctl.
-rw-r--r--sys/dev/softraid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c
index 1a16932c8f1..5099c38c64a 100644
--- a/sys/dev/softraid.c
+++ b/sys/dev/softraid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid.c,v 1.5 2007/03/20 02:48:22 marco Exp $ */
+/* $OpenBSD: softraid.c,v 1.6 2007/03/20 03:31:24 marco Exp $ */
/*
* Copyright (c) 2007 Marco Peereboom <marco@peereboom.us>
*
@@ -480,7 +480,7 @@ sr_scsi_ioctl(struct scsi_link *link, u_long cmd, caddr_t addr, int flag,
DNPRINTF(SR_D_IOCTL, "%s: sr_scsi_ioctl cmd: %#x\n",
DEVNAME((struct sr_softc *)link->adapter_softc), cmd);
- return (ENOTTY);
+ return (sr_ioctl(link->adapter_softc, cmd, addr));
}
int