remove another invalid skip of locking in ungetwc
[oweals/musl.git] / src / unistd / setuid.c
index e778c7f3c6967241bc73c728e1d43bdfa1a9d0fd..602ecbbf44b3d06b11a73196a13e9046eb217cb7 100644 (file)
@@ -4,5 +4,5 @@
 
 int setuid(uid_t uid)
 {
-       return __rsyscall(SYS_setuid, uid, 0, 0, 0, 0, 0);
+       return __setxid(SYS_setuid, uid, 0, 0);
 }