[Pkg-shadow-commits] r1984 - upstream/trunk/src

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sun May 18 16:38:14 UTC 2008


Author: nekral-guest
Date: 2008-05-18 16:38:13 +0000 (Sun, 18 May 2008)
New Revision: 1984

Modified:
   upstream/trunk/src/newgrp.c
Log:
Fix typo.


Modified: upstream/trunk/src/newgrp.c
===================================================================
--- upstream/trunk/src/newgrp.c	2008-05-18 15:06:51 UTC (rev 1983)
+++ upstream/trunk/src/newgrp.c	2008-05-18 16:38:13 UTC (rev 1984)
@@ -294,7 +294,7 @@
 				pid = waitpid (child, &cst, WUNTRACED);
 				if (pid == child && WIFSTOPPED (cst)) {
 					/* stop when child stops */
-					kill (getpid (), WSTOPSIG(status));
+					kill (getpid (), WSTOPSIG(cst));
 					/* wake child when resumed */
 					kill (child, SIGCONT);
 				}




More information about the Pkg-shadow-commits mailing list