summaryrefslogtreecommitdiff
path: root/sys/arch/armv7/imx
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2017-01-21 05:42:05 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2017-01-21 05:42:05 +0000
commit9a302bd2ce6b791c5c6ebe5666355ec437ac1d03 (patch)
tree9195deecdf0ac1af03e69b4df6433353d6454326 /sys/arch/armv7/imx
parent6c1f34eaf54d82d737e660ad764b624602f89481 (diff)
p_comm is the process's command and isn't per thread, so move it from
struct proc to struct process. ok deraadt@ kettenis@
Diffstat (limited to 'sys/arch/armv7/imx')
-rw-r--r--sys/arch/armv7/imx/imxesdhc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/armv7/imx/imxesdhc.c b/sys/arch/armv7/imx/imxesdhc.c
index 6cec0554de6..0022de6c682 100644
--- a/sys/arch/armv7/imx/imxesdhc.c
+++ b/sys/arch/armv7/imx/imxesdhc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imxesdhc.c,v 1.35 2016/12/28 22:45:24 kettenis Exp $ */
+/* $OpenBSD: imxesdhc.c,v 1.36 2017/01/21 05:42:03 guenther Exp $ */
/*
* Copyright (c) 2009 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
@@ -857,7 +857,7 @@ imxesdhc_start_command(struct imxesdhc_softc *sc, struct sdmmc_command *cmd)
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 : ""));
+ curproc->p_p->ps_comm : ""));
/*
* The maximum block length for commands should be the minimum