Use subcall 5 to __pgrpsys.
authorRoland McGrath <roland@gnu.org>
Thu, 26 Jan 1995 01:24:28 +0000 (01:24 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 26 Jan 1995 01:24:28 +0000 (01:24 +0000)
sysdeps/unix/sysv/sysv4/setpgid.c

index 0a18492..b9e06dc 100644 (file)
@@ -28,7 +28,7 @@ extern int __pgrpsys __P ((int type, ...));
 int
 DEFUN(__setpgid, (pid, pgid), int pid AND int pgid)
 {
-  return __pgrpsys (1, pid, pgid);
+  return __pgrpsys (5, pid, pgid);
 }
 
 weak_alias (__setpgid, setpgid)