]> granicus.if.org Git - sudo/commitdiff
Fix typo in killpg macro.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 21 Apr 2017 15:25:17 +0000 (09:25 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 21 Apr 2017 15:25:17 +0000 (09:25 -0600)
include/sudo_compat.h

index 520680e7debf4e2d571b919680300138de9262b2..1c123838349c70d104c0dcd51b04e37e5e6cef1e 100644 (file)
@@ -278,7 +278,7 @@ typedef struct sigaction sigaction_t;
 #endif
 
 #if !defined(HAVE_KILLPG) && !defined(killpg)
-# define killpg(p, s)  kill((p), -(s))
+# define killpg(p, s)  kill(-(p), (s))
 #endif
 
 /*