projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add and consolidate nasty stdio_ext junk
[oweals/musl.git]
/
src
/
unistd
/
setgid.c
diff --git
a/src/unistd/setgid.c
b/src/unistd/setgid.c
index 00c7a03a4a8ff92e7b529b3b30a20a5939b9099e..87b2717e2ff94818677622526b5921fe942a5156 100644
(file)
--- a/
src/unistd/setgid.c
+++ b/
src/unistd/setgid.c
@@
-4,6
+4,5
@@
int setgid(gid_t gid)
{
- if (libc.rsyscall) return libc.rsyscall(__NR_setgid32, gid, 0, 0, 0, 0, 0);
- return syscall1(__NR_setgid32, gid);
+ return __rsyscall(SYS_setgid, gid, 0, 0, 0, 0, 0);
}