diff options
author | ians <ians@cvs.openbsd.org> | 2020-04-27 11:37:24 +0000 |
---|---|---|
committer | ians <ians@cvs.openbsd.org> | 2020-04-27 11:37:24 +0000 |
commit | 9e60f63b1dfefdb2df994b74559f026905c712e1 (patch) | |
tree | a76c9c4a5d915cc077d627b61dcb8416df447647 /sys/dev | |
parent | cd7283e3eeddc751284546f7461c40b2d95892b5 (diff) |
fix SDHC_DEBUG build, remove procname printf's
ok kettenis@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/fdt/imxesdhc.c | 9 | ||||
-rw-r--r-- | sys/dev/sdmmc/sdhc.c | 9 |
2 files changed, 8 insertions, 10 deletions
diff --git a/sys/dev/fdt/imxesdhc.c b/sys/dev/fdt/imxesdhc.c index 8bbd2197a37..33383002503 100644 --- a/sys/dev/fdt/imxesdhc.c +++ b/sys/dev/fdt/imxesdhc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: imxesdhc.c,v 1.14 2020/03/20 09:16:42 patrick Exp $ */ +/* $OpenBSD: imxesdhc.c,v 1.15 2020/04/27 11:37:23 ians Exp $ */ /* * Copyright (c) 2009 Dale Rahn <drahn@openbsd.org> * Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org> @@ -871,10 +871,9 @@ imxesdhc_start_command(struct imxesdhc_softc *sc, struct sdmmc_command *cmd) int seg; int s; - 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_p->ps_comm : "")); + DPRINTF(1,("%s: start cmd %u arg=%#x data=%p dlen=%d flags=%#x\n", + HDEVNAME(sc), cmd->c_opcode, cmd->c_arg, cmd->c_data, + cmd->c_datalen, cmd->c_flags)); /* * The maximum block length for commands should be the minimum diff --git a/sys/dev/sdmmc/sdhc.c b/sys/dev/sdmmc/sdhc.c index 208f4b09ee8..0ef4aa760b7 100644 --- a/sys/dev/sdmmc/sdhc.c +++ b/sys/dev/sdmmc/sdhc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sdhc.c,v 1.64 2020/04/19 16:15:20 kettenis Exp $ */ +/* $OpenBSD: sdhc.c,v 1.65 2020/04/27 11:37:23 ians Exp $ */ /* * Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org> @@ -908,10 +908,9 @@ sdhc_start_command(struct sdhc_host *hp, struct sdmmc_command *cmd) int seg; int s; - DPRINTF(1,("%s: start cmd %u arg=%#x data=%p dlen=%d flags=%#x " - "proc=\"%s\"\n", DEVNAME(hp->sc), cmd->c_opcode, cmd->c_arg, - cmd->c_data, cmd->c_datalen, cmd->c_flags, curproc ? - curproc->p_p->ps_comm : "")); + DPRINTF(1,("%s: start cmd %u arg=%#x data=%p dlen=%d flags=%#x\n", + DEVNAME(hp->sc), cmd->c_opcode, cmd->c_arg, cmd->c_data, + cmd->c_datalen, cmd->c_flags)); /* * The maximum block length for commands should be the minimum |