summaryrefslogtreecommitdiff
path: root/src/unistd/setpgid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/setpgid.c')
-rw-r--r--src/unistd/setpgid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/setpgid.c b/src/unistd/setpgid.c
index 748d2907..4a5a3d6b 100644
--- a/src/unistd/setpgid.c
+++ b/src/unistd/setpgid.c
@@ -3,5 +3,5 @@
pid_t setpgid(pid_t pid, pid_t pgid)
{
- return syscall2(__NR_setpgid, pid, pgid);
+ return syscall(SYS_setpgid, pid, pgid);
}