about summary refs log tree commit diff
path: root/sysdeps/posix/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/clock.c')
-rw-r--r--sysdeps/posix/clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/clock.c b/sysdeps/posix/clock.c
index c34593b9eb..9eadc7888a 100644
--- a/sysdeps/posix/clock.c
+++ b/sysdeps/posix/clock.c
@@ -29,5 +29,5 @@ DEFUN_VOID(clock)
   if (__times(&buf) < 0)
     return (clock_t) -1;
 
-  return ((buf.tms_utime + buf.tms_stime) * CLK_TCK * CLOCKS_PER_SEC);
+  return buf.tms_utime + buf.tms_stime;
 }