summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authoritojun <itojun@NetBSD.org>2002-09-23 03:17:36 +0000
committeritojun <itojun@NetBSD.org>2002-09-23 03:17:36 +0000
commit393f467c67a4a1cff1fa362a963d116566488a40 (patch)
tree9d8f2f39713933eba1163a2844bdfe4609a075a1 /sys/dev/raidframe
parentdaa3345504a8757b821435a64d4fd0ab4afd57bd (diff)
make it compile with DIAGNOSTIC
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_netbsdkintf.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c
index 9c406d9203a..0a235c9074b 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.136 2002/09/22 03:56:08 oster Exp $ */
+/* $NetBSD: rf_netbsdkintf.c,v 1.137 2002/09/23 03:17:36 itojun Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -114,7 +114,7 @@
***********************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.136 2002/09/22 03:56:08 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.137 2002/09/23 03:17:36 itojun Exp $");
#include <sys/param.h>
#include <sys/errno.h>
@@ -1766,7 +1766,8 @@ rf_DispatchKernelIO(queue, req)
#if DIAGNOSTIC
if (queue->raidPtr->raidid >= numraid) {
- printf("Invalid unit number: %d %d\n", unit, numraid);
+ printf("Invalid unit number: %d %d\n", queue->raidPtr->raidid,
+ numraid);
panic("Invalid Unit number in rf_DispatchKernelIO\n");
}
#endif