Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/raidframe make it compile with DIAGNOSTIC



details:   https://anonhg.NetBSD.org/src/rev/6879cbc43ca4
branches:  trunk
changeset: 536848:6879cbc43ca4
user:      itojun <itojun%NetBSD.org@localhost>
date:      Mon Sep 23 03:17:36 2002 +0000

description:
make it compile with DIAGNOSTIC

diffstat:

 sys/dev/raidframe/rf_netbsdkintf.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 7648534f5b08 -r 6879cbc43ca4 sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c        Mon Sep 23 03:04:27 2002 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c        Mon Sep 23 03:17:36 2002 +0000
@@ -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 @@
 
 #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



Home | Main Index | Thread Index | Old Index