Sfoglia il codice sorgente

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

Eric Andersen 23 anni fa
parent
commit
9f82e5e79a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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