Module Name:    src
Committed By:   christos
Date:           Wed Dec 22 05:51:19 UTC 2010

Modified Files:
        src/sys/dev/raidframe: rf_netbsdkintf.c

Log Message:
print the error code for writing parity.


To generate a diff of this commit:
cvs rdiff -u -r1.278 -r1.279 src/sys/dev/raidframe/rf_netbsdkintf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/raidframe/rf_netbsdkintf.c
diff -u src/sys/dev/raidframe/rf_netbsdkintf.c:1.278 src/sys/dev/raidframe/rf_netbsdkintf.c:1.279
--- src/sys/dev/raidframe/rf_netbsdkintf.c:1.278	Fri Dec 10 22:12:10 2010
+++ src/sys/dev/raidframe/rf_netbsdkintf.c	Wed Dec 22 00:51:19 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: rf_netbsdkintf.c,v 1.278 2010/12/11 03:12:10 mrg Exp $	*/
+/*	$NetBSD: rf_netbsdkintf.c,v 1.279 2010/12/22 05:51:19 christos 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.278 2010/12/11 03:12:10 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.279 2010/12/22 05:51:19 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -2906,7 +2906,8 @@
 	retcode = rf_RewriteParity(raidPtr);
 	splx(s);
 	if (retcode) {
-		printf("raid%d: Error re-writing parity!\n",raidPtr->raidid);
+		printf("raid%d: Error re-writing parity (%d)!\n",
+		    raidPtr->raidid, retcode);
 	} else {
 		/* set the clean bit!  If we shutdown correctly,
 		   the clean bit on each component label will get

Reply via email to