aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/i386/i586/clock_getres.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/i386/i586/clock_getres.c')
-rw-r--r--sysdeps/unix/i386/i586/clock_getres.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/i386/i586/clock_getres.c b/sysdeps/unix/i386/i586/clock_getres.c
index abafcc079b..dacf7f49d3 100644
--- a/sysdeps/unix/i386/i586/clock_getres.c
+++ b/sysdeps/unix/i386/i586/clock_getres.c
@@ -43,7 +43,7 @@ static long int nsec;
#define EXTRA_CLOCK_CASES \
case __CLOCK_HIGHRES: \
{ \
- if (__builtin_expect (nsec != 0, 0)) \
+ if (__builtin_expect (nsec == 0, 0)) \
{ \
unsigned long long int freq; \
\