Call getpgrp instead of __getpgrp.
authorRoland McGrath <roland@gnu.org>
Thu, 26 Jan 1995 06:23:39 +0000 (06:23 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 26 Jan 1995 06:23:39 +0000 (06:23 +0000)
sysdeps/unix/bsd/sun/sunos4/wait4.c

index 4d15ddc..919cd7c 100644 (file)
@@ -40,7 +40,7 @@ DEFUN(__wait4, (pid, stat_loc, options, usage),
       break;
 
     case WAIT_MYPGRP:
-      pid = - __getpgrp (0);
+      pid = - getpgrp ();
       break;
     }