summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authorhaad <haad@NetBSD.org>2009-06-06 08:10:06 +0000
committerhaad <haad@NetBSD.org>2009-06-06 08:10:06 +0000
commitea2ba1c77b92be6f7a547e0c6abb2ad16030b218 (patch)
tree0de4e1e1c9d758771a1a52eb3216cae8a0bdcdc5 /sys/dev/raidframe
parent5fac9138c2ae2bba0b489c1ffbaf66e5d435b636 (diff)
Fix my previous commit.
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_netbsdkintf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c
index f37509ced3e..77e1fd2fe14 100644
--- a/sys/dev/raidframe/rf_netbsdkintf.c
+++ b/sys/dev/raidframe/rf_netbsdkintf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_netbsdkintf.c,v 1.263 2009/06/05 21:52:32 haad Exp $ */
+/* $NetBSD: rf_netbsdkintf.c,v 1.264 2009/06/06 08:10:06 haad Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2008 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -139,7 +139,7 @@
***********************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.263 2009/06/05 21:52:32 haad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.264 2009/06/06 08:10:06 haad Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -1732,7 +1732,7 @@ raidioctl(dev_t dev, u_long cmd, void *data, int flag, struct lwp *l)
* Add support for "regular" device ioctls here.
*/
- error = disk_ioctl(&rs->sc_dkdev, cmd, addr, flag, l);
+ error = disk_ioctl(&rs->sc_dkdev, cmd, data, flag, l);
if (error != EPASSTHROUGH)
return (error);