diff options
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/timer_delete.c')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/timer_delete.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/timer_delete.c b/nptl/sysdeps/unix/sysv/linux/timer_delete.c index cf63364253..9028dc4efc 100644 --- a/nptl/sysdeps/unix/sysv/linux/timer_delete.c +++ b/nptl/sysdeps/unix/sysv/linux/timer_delete.c @@ -72,10 +72,13 @@ timer_delete (timerid) Return the error. */ # ifndef __ASSUME_POSIX_TIMERS if (errno != ENOSYS) + { + __no_posix_timers = 1; # endif - return -1; - + return -1; # ifndef __ASSUME_POSIX_TIMERS + } + __no_posix_timers = -1; # endif } |