diff options
Diffstat (limited to 'sysdeps/unix/bsd/times.c')
-rw-r--r-- | sysdeps/unix/bsd/times.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/bsd/times.c b/sysdeps/unix/bsd/times.c index f7aaea3f96..f0765bd126 100644 --- a/sysdeps/unix/bsd/times.c +++ b/sysdeps/unix/bsd/times.c @@ -54,7 +54,7 @@ __times (buffer) } clk_tck = __getclktck (); - + if (__getrusage (RUSAGE_SELF, &usage) < 0) return (clock_t) -1; buffer->tms_utime = (clock_t) timeval_to_clock_t (&usage.ru_utime, clk_tck); |