summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authormarco <marco@openbsd.org>2007-03-20 03:31:24 +0000
committermarco <marco@openbsd.org>2007-03-20 03:31:24 +0000
commit2967dc520a190e731b0d81cb2e1028e5c950fe33 (patch)
treea9080fd349f723b32ae1495c7f7d076f14cc6b66 /sys/dev/softraid.c
parentremove some bogus *p tests from charles longeau (diff)
downloadwireguard-openbsd-2967dc520a190e731b0d81cb2e1028e5c950fe33.tar.xz
wireguard-openbsd-2967dc520a190e731b0d81cb2e1028e5c950fe33.zip
Hook up sd ioctl.
Diffstat (limited to 'sys/dev/softraid.c')
-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