diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-05-30 02:17:37 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-05-30 02:17:37 +0000 |
commit | 13dc0e01ba65880932c810d10dc2f71139b8422c (patch) | |
tree | 9daafe551d49eff063d122f248fb3b773430b293 /sys/arch/armv7/exynos | |
parent | 270986497b1023e38c4fca8e1188e4edc3ecd314 (diff) |
fix the build when SDHC_DEBUG is defined
Diffstat (limited to 'sys/arch/armv7/exynos')
-rw-r--r-- | sys/arch/armv7/exynos/exesdhc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/armv7/exynos/exesdhc.c b/sys/arch/armv7/exynos/exesdhc.c index f2756792496..b5da2c23673 100644 --- a/sys/arch/armv7/exynos/exesdhc.c +++ b/sys/arch/armv7/exynos/exesdhc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exesdhc.c,v 1.2 2015/05/27 00:06:14 jsg Exp $ */ +/* $OpenBSD: exesdhc.c,v 1.3 2015/05/30 02:17:36 jsg Exp $ */ /* * Copyright (c) 2009 Dale Rahn <drahn@openbsd.org> * Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org> @@ -602,7 +602,7 @@ exesdhc_wait_state(struct exesdhc_softc *sc, uint32_t mask, uint32_t value) return 0; delay(10); } - DPRINTF(0,("%s: timeout waiting for %x\n", HDEVNAME(sc), + DPRINTF(0,("%s: timeout waiting for %x, state %x\n", HDEVNAME(sc), value, state)); return ETIMEDOUT; } @@ -677,7 +677,7 @@ exesdhc_start_command(struct exesdhc_softc *sc, struct sdmmc_command *cmd) int error; int s; - DPRINTF(1,("%s: start cmd %u arg=%#x data=%#x dlen=%d flags=%#x " + DPRINTF(1,("%s: start cmd %u arg=%#x data=%p dlen=%d flags=%#x " "proc=\"%s\"\n", HDEVNAME(sc), cmd->c_opcode, cmd->c_arg, cmd->c_data, cmd->c_datalen, cmd->c_flags, curproc ? curproc->p_comm : "")); @@ -968,7 +968,7 @@ exesdhc_intr(void *arg) /* Acknowledge the interrupts we are about to handle. */ HWRITE4(sc, SDHC_INT_STATUS, status); DPRINTF(2,("%s: interrupt status=0x%08x\n", HDEVNAME(sc), - status, status)); + status)); /* * Service error interrupts. |