diff options
author | kn <kn@cvs.openbsd.org> | 2021-03-27 14:36:29 +0000 |
---|---|---|
committer | kn <kn@cvs.openbsd.org> | 2021-03-27 14:36:29 +0000 |
commit | 8763e95ae4fe262fa44005a567a5482be86d9d46 (patch) | |
tree | 437523242c34769e100ee63653bfccf63619ca26 /sys/dev/sdmmc/sdmmc_scsi.c | |
parent | e03e287aa2aad3ea993ed9513b6bb3f0bdf889a2 (diff) |
Fix SDMMC_DEBUG build
- Replace undefined SDMMCDEVNAME macro with usual DEVNAME from sdmmcvar.h
- typofix struct member name
Diffstat (limited to 'sys/dev/sdmmc/sdmmc_scsi.c')
-rw-r--r-- | sys/dev/sdmmc/sdmmc_scsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sdmmc/sdmmc_scsi.c b/sys/dev/sdmmc/sdmmc_scsi.c index d2ac99671e6..e85ce163e19 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.59 2020/10/15 13:22:13 krw Exp $ */ +/* $OpenBSD: sdmmc_scsi.c,v 1.60 2021/03/27 14:36:28 kn Exp $ */ /* * Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org> @@ -323,7 +323,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.pcode, curproc ? + DEVNAME(sc), link->target, xs->cmd.opcode, curproc ? curproc->p_p->ps_comm : "", xs->flags & SCSI_POLL)); xs->error = XS_NOERROR; |