From 2eaec068c9a23a535fa0fadb9030a56dad0d55e3 Mon Sep 17 00:00:00 2001 From: oster Date: Sun, 8 Feb 2004 04:37:56 +0000 Subject: [PATCH] Relegate some printf's to DEBUG land. --- sys/dev/raidframe/rf_netbsdkintf.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c index 5fbb521e5d0b..94336a83297a 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.173 2004/01/25 18:06:48 hannken Exp $ */ +/* $NetBSD: rf_netbsdkintf.c,v 1.174 2004/02/08 04:37:56 oster Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. * All rights reserved. @@ -146,7 +146,7 @@ ***********************************************************/ #include -__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.173 2004/01/25 18:06:48 hannken Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.174 2004/02/08 04:37:56 oster Exp $"); #include #include @@ -1035,6 +1035,7 @@ raidioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p) */ raidid = raidPtr->raidid; +#if DEBUG printf("raid%d: Got component label:\n", raidid); printf("raid%d: Version: %d\n", raidid, clabel->version); printf("raid%d: Serial Number: %d\n", raidid, clabel->serial_number); @@ -1043,7 +1044,7 @@ raidioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p) printf("raid%d: Num Columns: %d\n", raidid, clabel->num_columns); printf("raid%d: Clean: %d\n", raidid, clabel->clean); printf("raid%d: Status: %d\n", raidid, clabel->status); - +#endif clabel->row = 0; column = clabel->column;