diff options
Diffstat (limited to 'linuxthreads/sysdeps/pthread/timer_getoverr.c')
-rw-r--r-- | linuxthreads/sysdeps/pthread/timer_getoverr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linuxthreads/sysdeps/pthread/timer_getoverr.c b/linuxthreads/sysdeps/pthread/timer_getoverr.c index 204addc85a..4994f8f2e7 100644 --- a/linuxthreads/sysdeps/pthread/timer_getoverr.c +++ b/linuxthreads/sysdeps/pthread/timer_getoverr.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2000, 2001 Free Software Foundation, Inc. +/* Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Kaz Kylheku <kaz@ashi.footprints.net>. @@ -37,7 +37,7 @@ timer_getoverrun (timerid) if (! timer_valid (timer = timer_id2ptr (timerid))) __set_errno (EINVAL); else - retval = 0; /* TODO: overrun counting not supported */ + retval = timer->overrun_count; pthread_mutex_unlock (&__timer_mutex); |