projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cuserid: support invocation with a null pointer argument
[musl]
/
src
/
unistd
/
getpgrp.c
diff --git
a/src/unistd/getpgrp.c
b/src/unistd/getpgrp.c
index
2004630
..
90e9bb0
100644
(file)
--- 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
);
}