summaryrefslogtreecommitdiff
path: root/sys/dev/ic/wdc.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-01-07 19:04:47 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-01-07 19:04:47 +0000
commitdc6bb2d0345c9273462299bdf4a322235eb30b02 (patch)
treeb16e8c1d7c8096d147185cb30988d5540a641214 /sys/dev/ic/wdc.c
parentbec585e24fe8c9b5e710d4d4d86a8b0a5a2449be (diff)
pass the proc* down the ioctl chain to controller; mjacob@ csapuntz@ ok
Diffstat (limited to 'sys/dev/ic/wdc.c')
-rw-r--r--sys/dev/ic/wdc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/wdc.c b/sys/dev/ic/wdc.c
index 13bac8fbd39..60433f016f4 100644
--- a/sys/dev/ic/wdc.c
+++ b/sys/dev/ic/wdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdc.c,v 1.43 2001/11/06 19:53:18 miod Exp $ */
+/* $OpenBSD: wdc.c,v 1.44 2002/01/07 19:04:46 mickey Exp $ */
/* $NetBSD: wdc.c,v 1.68 1999/06/23 19:00:17 bouyer Exp $ */
@@ -1979,11 +1979,12 @@ bad:
}
int
-wdc_ioctl(drvp, xfer, addr, flag)
+wdc_ioctl(drvp, xfer, addr, flag, p)
struct ata_drive_datas *drvp;
u_long xfer;
caddr_t addr;
int flag;
+ struct proc *p;
{
int error = 0;