summaryrefslogtreecommitdiff
path: root/src/unistd/setuid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/setuid.c')
-rw-r--r--src/unistd/setuid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/setuid.c b/src/unistd/setuid.c
index da6816de..e778c7f3 100644
--- a/src/unistd/setuid.c
+++ b/src/unistd/setuid.c
@@ -4,5 +4,5 @@
int setuid(uid_t uid)
{
- return __rsyscall(__NR_setuid, uid, 0, 0, 0, 0, 0);
+ return __rsyscall(SYS_setuid, uid, 0, 0, 0, 0, 0);
}