Call getpgrp instead of __getpgrp.
This commit is contained in:
parent
05834bf1c7
commit
f6aa1372e1
@ -40,7 +40,7 @@ DEFUN(__wait4, (pid, stat_loc, options, usage),
|
||||
break;
|
||||
|
||||
case WAIT_MYPGRP:
|
||||
pid = - __getpgrp (0);
|
||||
pid = - getpgrp ();
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user