Преглед изворни кода

Correct type, gcc-3.4.5 fails, thanks nitinkg for reporting/testing

Peter S. Mazinger пре 20 година
родитељ
комит
c7ee376f94
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      libc/sysdeps/linux/common/getrusage.c

+ 1 - 1
libc/sysdeps/linux/common/getrusage.c

@@ -10,4 +10,4 @@
 #include "syscalls.h"
 #include <unistd.h>
 #include <wait.h>
-_syscall2(int, getrusage, int, who, struct rusage *, usage);
+_syscall2(int, getrusage, __rusage_who_t, who, struct rusage *, usage);