1 Subject: [PATCH] Fix getrusage argument type
3 The first argument to getrusage is of type __rusage_who_t, not int.
7 libc/sysdeps/linux/common/getrusage.c | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 Index: uClibc-0.9.28/libc/sysdeps/linux/common/getrusage.c
11 ===================================================================
12 --- uClibc-0.9.28.orig/libc/sysdeps/linux/common/getrusage.c 2006-02-07 17:18:22.000000000 +0100
13 +++ uClibc-0.9.28/libc/sysdeps/linux/common/getrusage.c 2006-02-07 17:18:31.000000000 +0100
18 -_syscall2(int, getrusage, int, who, struct rusage *, usage);
19 +_syscall2(int, getrusage, __rusage_who_t, who, struct rusage *, usage);