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 2004630a..02449da9 100644
--- a/src/unistd/getpgrp.c
+++ b/src/unistd/getpgrp.c
@@ -3,5 +3,5 @@
pid_t getpgrp(void)
{
- return syscall0(__NR_getpgrp);
+ return syscall(SYS_getpgrp);
}