浏览代码

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

Peter S. Mazinger 18 年之前
父节点
当前提交
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);