X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Funistd%2Fgetpgrp.c;h=90e9bb07f6e3e19378957524d425847cec6df1c5;hb=ef137da6428c342baabd3bcf9b5e91f75acefa64;hp=2004630a8fd898ae38eeaf65d631b44cf39e93ba;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/src/unistd/getpgrp.c b/src/unistd/getpgrp.c index 2004630a..90e9bb07 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_getpgid, 0); }