summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c
index d612f5da1..9c416fe2f 100644
--- a/libc/sysdeps/linux/common/syscalls.c
+++ b/libc/sysdeps/linux/common/syscalls.c
@@ -217,7 +217,7 @@ int setuid(uid_t uid)
//#define __NR_getuid 24
#ifdef L_getuid
#include <unistd.h>
-_syscall0(gid_t, getuid);
+_syscall0(uid_t, getuid);
#endif
//#define __NR_stime 25