Explorar o código

m4@brecis.COM noticed a typing problem with the getuid syscall. OOps.

Eric Andersen %!s(int64=24) %!d(string=hai) anos
pai
achega
9f82e5e79a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      libc/sysdeps/linux/common/syscalls.c

+ 1 - 1
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