Browse Source

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

Peter S. Mazinger 18 years ago
parent
commit
c7ee376f94
1 changed files with 1 additions and 1 deletions
  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);