summaryrefslogtreecommitdiff
path: root/src/unistd/setgid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/setgid.c')
-rw-r--r--src/unistd/setgid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/setgid.c b/src/unistd/setgid.c
index b54d2b22..87b2717e 100644
--- a/src/unistd/setgid.c
+++ b/src/unistd/setgid.c
@@ -4,5 +4,5 @@
int setgid(gid_t gid)
{
- return __rsyscall(__NR_setgid, gid, 0, 0, 0, 0, 0);
+ return __rsyscall(SYS_setgid, gid, 0, 0, 0, 0, 0);
}