From: Todd C. Miller Date: Thu, 28 Jul 2016 12:23:39 +0000 (-0600) Subject: Add function name in "command resumed" debug message X-Git-Tag: SUDO_1_8_18^2~93 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4352bb9ca949cebc79110f0eee610c006f83e2fe;p=sudo Add function name in "command resumed" debug message --- diff --git a/src/exec_pty.c b/src/exec_pty.c index 30922692b..fdc8af072 100644 --- a/src/exec_pty.c +++ b/src/exec_pty.c @@ -1169,7 +1169,8 @@ handle_sigchld(int backchannel, struct command_status *cstat) } if (WIFCONTINUED(status)) { - sudo_debug_printf(SUDO_DEBUG_INFO, "command (%d) resumed", cmnd_pid); + sudo_debug_printf(SUDO_DEBUG_INFO, "%s: command (%d) resumed", + __func__, cmnd_pid); } else if (WIFSTOPPED(status)) { if (sig2str(WSTOPSIG(status), signame) == -1) snprintf(signame, sizeof(signame), "%d", WSTOPSIG(status));