about summary refs log tree commit diff
path: root/localedata/tst-strptime.c
diff options
context:
space:
mode:
Diffstat (limited to 'localedata/tst-strptime.c')
-rw-r--r--localedata/tst-strptime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/localedata/tst-strptime.c b/localedata/tst-strptime.c
index a95b2c2611..2d4bb7ce09 100644
--- a/localedata/tst-strptime.c
+++ b/localedata/tst-strptime.c
@@ -34,8 +34,8 @@ do_test (void)
   printf ("\
 r = %p, r-s2 = %tu, tm.tm_mday = %d, tm.tm_mon = %d, tm.tm_year = %d\n",
 	  r, r - s2, tm.tm_mday, tm.tm_mon, tm.tm_year);
-  result = (r == NULL || r - s2 != 14 || tm.tm_mday != 25 || tm.tm_mon != 5
-	    || tm.tm_year != 108);
+  result |= (r == NULL || r - s2 != 14 || tm.tm_mday != 25 || tm.tm_mon != 5
+	     || tm.tm_year != 108);
 
   return result;
 }