From: Todd C. Miller Date: Fri, 21 Apr 2017 13:28:45 +0000 (-0600) Subject: Fix the killpg macro for systems without killpg() in libc. X-Git-Tag: SUDO_1_8_20^2~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18c8ce10ea2eaebdcd7556382a1e783666bf2d15;p=sudo Fix the killpg macro for systems without killpg() in libc. --- diff --git a/include/sudo_compat.h b/include/sudo_compat.h index eea93b474..520680e7d 100644 --- a/include/sudo_compat.h +++ b/include/sudo_compat.h @@ -278,7 +278,7 @@ typedef struct sigaction sigaction_t; #endif #if !defined(HAVE_KILLPG) && !defined(killpg) -# define killpg(s) kill(-(s)) +# define killpg(p, s) kill((p), -(s)) #endif /*