Module Name:    src
Committed By:   mlelstv
Date:           Mon Aug  3 05:24:37 UTC 2015

Modified Files:
        src/sys/dev/sdmmc: sdhc.c

Log Message:
better error message


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/dev/sdmmc/sdhc.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/sdmmc/sdhc.c
diff -u src/sys/dev/sdmmc/sdhc.c:1.74 src/sys/dev/sdmmc/sdhc.c:1.75
--- src/sys/dev/sdmmc/sdhc.c:1.74	Mon Aug  3 00:44:52 2015
+++ src/sys/dev/sdmmc/sdhc.c	Mon Aug  3 05:24:37 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: sdhc.c,v 1.74 2015/08/03 00:44:52 jmcneill Exp $	*/
+/*	$NetBSD: sdhc.c,v 1.75 2015/08/03 05:24:37 mlelstv Exp $	*/
 /*	$OpenBSD: sdhc.c,v 1.25 2009/01/13 19:44:20 grange Exp $	*/
 
 /*
@@ -23,7 +23,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sdhc.c,v 1.74 2015/08/03 00:44:52 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdhc.c,v 1.75 2015/08/03 05:24:37 mlelstv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_sdmmc.h"
@@ -1218,8 +1218,8 @@ sdhc_wait_state(struct sdhc_host *hp, ui
 			return 0;
 		sdmmc_delay(10);
 	}
-	aprint_error_dev(hp->sc->sc_dev, "timeout waiting for %x (state=%x)\n",
-	    value, state);
+	aprint_error_dev(hp->sc->sc_dev, "timeout waiting for mask %#x value %#x (state=%#x)\n",
+	    mask, value, state);
 	return ETIMEDOUT;
 }
 

Reply via email to