about summary refs log tree commit diff
path: root/src/unistd/getuid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/getuid.c')
-rw-r--r--src/unistd/getuid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/getuid.c b/src/unistd/getuid.c
index cd7233d1..0bf9e714 100644
--- a/src/unistd/getuid.c
+++ b/src/unistd/getuid.c
@@ -3,5 +3,5 @@
 
 uid_t getuid(void)
 {
-	return syscall0(__NR_getuid);
+	return syscall(SYS_getuid);
 }