소스 검색

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);