summaryrefslogtreecommitdiff
path: root/src/unistd/getpgrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/getpgrp.c')
-rw-r--r--src/unistd/getpgrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/getpgrp.c b/src/unistd/getpgrp.c
index 433f42e8..90e9bb07 100644
--- a/src/unistd/getpgrp.c
+++ b/src/unistd/getpgrp.c
@@ -3,5 +3,5 @@
pid_t getpgrp(void)
{
- return __syscall(SYS_getpgrp);
+ return __syscall(SYS_getpgid, 0);
}