From aa398f56fa398f2202b04e82c67f822f3233786f Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 20 Mar 2011 00:16:43 -0400 Subject: global cleanup to use the new syscall interface --- src/unistd/setuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unistd/setuid.c') diff --git a/src/unistd/setuid.c b/src/unistd/setuid.c index 9e9da61f..61e8be55 100644 --- a/src/unistd/setuid.c +++ b/src/unistd/setuid.c @@ -5,5 +5,5 @@ int setuid(uid_t uid) { if (libc.rsyscall) return libc.rsyscall(__NR_setuid, uid, 0, 0, 0, 0, 0); - return syscall1(__NR_setuid, uid); + return syscall(SYS_setuid, uid); } -- cgit 1.4.1