Use subcall 4 to __pgrpsys.
This commit is contained in:
parent
a38d08f7b4
commit
c54278121e
@ -27,7 +27,7 @@ extern int __pgrpsys __P ((int type, ...));
|
|||||||
int
|
int
|
||||||
DEFUN(__getpgid, (pid), pid_t pid)
|
DEFUN(__getpgid, (pid), pid_t pid)
|
||||||
{
|
{
|
||||||
return __pgrpsys (0, pid);
|
return __pgrpsys (4, pid);
|
||||||
}
|
}
|
||||||
|
|
||||||
weak_alias (__getpgid, getpgid)
|
weak_alias (__getpgid, getpgid)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user