Module Name:    src
Committed By:   mlelstv
Date:           Wed Sep  9 08:04:33 UTC 2015

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

Log Message:
fix DPRINTF parameters


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 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.84 src/sys/dev/sdmmc/sdhc.c:1.85
--- src/sys/dev/sdmmc/sdhc.c:1.84	Sun Aug  9 13:46:50 2015
+++ src/sys/dev/sdmmc/sdhc.c	Wed Sep  9 08:04:33 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: sdhc.c,v 1.84 2015/08/09 13:46:50 mlelstv Exp $	*/
+/*	$NetBSD: sdhc.c,v 1.85 2015/09/09 08:04:33 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.84 2015/08/09 13:46:50 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdhc.c,v 1.85 2015/09/09 08:04:33 mlelstv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_sdmmc.h"
@@ -1489,7 +1489,8 @@ sdhc_exec_command(sdmmc_chipset_handle_t
 		sdhc_transfer_data(hp, cmd);
 	else if (ISSET(cmd->c_flags, SCF_RSP_BSY)) {
 		if (!sdhc_wait_intr(hp, SDHC_TRANSFER_COMPLETE, hz * 10)) {
-			DPRINTF(1,(hp->sc->sc_dev,"sdhc_exec_command: RSP_BSY\n"));
+			DPRINTF(1,("%s: sdhc_exec_command: RSP_BSY\n",
+			    HDEVNAME(hp)));
 			cmd->c_error = ETIMEDOUT;
 			goto out;
 		}

Reply via email to