diff options
Diffstat (limited to 'm4')
-rw-r--r-- | m4/nanosleep.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/nanosleep.m4 b/m4/nanosleep.m4 index e4b634181..37e7f5a8a 100644 --- a/m4/nanosleep.m4 +++ b/m4/nanosleep.m4 @@ -17,7 +17,7 @@ AC_DEFUN(jm_FUNC_NANOSLEEP, struct timespec ts_sleep, ts_remaining; ts_sleep.tv_sec = 0; ts_sleep.tv_nsec = 1; - exit (nanosleep (&ts_sleep, &ts_remaining) == 0 ? 1 : 0); + exit (nanosleep (&ts_sleep, &ts_remaining) == 0 ? 0 : 1); } ], jm_cv_func_nanosleep_works=yes, |