summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/times.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-02-02 23:07:24 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-02-02 23:07:24 +0100
commit779c35b7c4e47d9fc8f69ee582e822a2f6f45411 (patch)
treea28b743c3e26d002cacebc15fa0c16759b9d163c /libc/sysdeps/linux/common/times.c
parent7fdca78a993ef53f6c26bb19a70862557dc794e8 (diff)
time,times: stop interpreting negative return values ar errors
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/times.c')
-rw-r--r--libc/sysdeps/linux/common/times.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/times.c b/libc/sysdeps/linux/common/times.c
index e71d1bd71..37ae040d4 100644
--- a/libc/sysdeps/linux/common/times.c
+++ b/libc/sysdeps/linux/common/times.c
@@ -11,5 +11,5 @@
#include <sys/times.h>
-_syscall1(clock_t, times, struct tms *, buf)
+_syscall_noerr1(clock_t, times, struct tms *, buf)
libc_hidden_def(times)