diff options
Diffstat (limited to 'sys/dev/sdmmc')
-rw-r--r-- | sys/dev/sdmmc/sdhc.c | 4 | ||||
-rw-r--r-- | sys/dev/sdmmc/sdmmc.c | 4 | ||||
-rw-r--r-- | sys/dev/sdmmc/sdmmc_scsi.c | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/sdmmc/sdhc.c b/sys/dev/sdmmc/sdhc.c index 5e0a87ef9f7..b2ed0f23afc 100644 --- a/sys/dev/sdmmc/sdhc.c +++ b/sys/dev/sdmmc/sdhc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sdhc.c,v 1.52 2016/05/15 22:21:55 kettenis Exp $ */ +/* $OpenBSD: sdhc.c,v 1.53 2017/01/21 05:42:04 guenther Exp $ */ /* * Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org> @@ -800,7 +800,7 @@ sdhc_start_command(struct sdhc_host *hp, struct sdmmc_command *cmd) DPRINTF(1,("%s: start cmd %u arg=%#x data=%#x 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_comm : "")); + curproc->p_p->ps_comm : "")); /* * The maximum block length for commands should be the minimum diff --git a/sys/dev/sdmmc/sdmmc.c b/sys/dev/sdmmc/sdmmc.c index e09391698e5..c176c8b6100 100644 --- a/sys/dev/sdmmc/sdmmc.c +++ b/sys/dev/sdmmc/sdmmc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sdmmc.c,v 1.44 2016/05/05 11:01:08 kettenis Exp $ */ +/* $OpenBSD: sdmmc.c,v 1.45 2017/01/21 05:42:04 guenther Exp $ */ /* * Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org> @@ -824,7 +824,7 @@ sdmmc_dump_command(struct sdmmc_softc *sc, struct sdmmc_command *cmd) DPRINTF(1,("%s: cmd %u arg=%#x data=%p dlen=%d flags=%#x " "proc=\"%s\" (error %d)\n", DEVNAME(sc), cmd->c_opcode, cmd->c_arg, cmd->c_data, cmd->c_datalen, cmd->c_flags, - curproc ? curproc->p_comm : "", cmd->c_error)); + curproc ? curproc->p_p->ps_comm : "", cmd->c_error)); if (cmd->c_error || sdmmcdebug < 1) return; diff --git a/sys/dev/sdmmc/sdmmc_scsi.c b/sys/dev/sdmmc/sdmmc_scsi.c index d9896c84143..2bd6388246a 100644 --- a/sys/dev/sdmmc/sdmmc_scsi.c +++ b/sys/dev/sdmmc/sdmmc_scsi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sdmmc_scsi.c,v 1.37 2017/01/20 00:52:32 deraadt Exp $ */ +/* $OpenBSD: sdmmc_scsi.c,v 1.38 2017/01/21 05:42:04 guenther Exp $ */ /* * Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org> @@ -313,7 +313,7 @@ sdmmc_scsi_cmd(struct scsi_xfer *xs) DPRINTF(("%s: scsi cmd target=%d opcode=%#x proc=\"%s\" (poll=%#x)\n", DEVNAME(sc), link->target, xs->cmd->opcode, curproc ? - curproc->p_comm : "", xs->flags & SCSI_POLL)); + curproc->p_p->ps_comm : "", xs->flags & SCSI_POLL)); xs->error = XS_NOERROR; @@ -476,7 +476,7 @@ sdmmc_complete_xs(void *arg) DPRINTF(("%s: scsi cmd target=%d opcode=%#x proc=\"%s\" (poll=%#x)" " complete\n", DEVNAME(sc), link->target, xs->cmd->opcode, - curproc ? curproc->p_comm : "", xs->flags & SCSI_POLL)); + curproc ? curproc->p_p->ps_comm : "", xs->flags & SCSI_POLL)); s = splbio(); @@ -507,7 +507,7 @@ sdmmc_done_xs(struct sdmmc_ccb *ccb) DPRINTF(("%s: scsi cmd target=%d opcode=%#x proc=\"%s\" (error=%#x)" " done\n", DEVNAME(sc), link->target, xs->cmd->opcode, - curproc ? curproc->p_comm : "", xs->error)); + curproc ? curproc->p_p->ps_comm : "", xs->error)); xs->resid = 0; |