aboutsummaryrefslogtreecommitdiff
path: root/localedata
diff options
context:
space:
mode:
Diffstat (limited to 'localedata')
-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 a95b2c2..2d4bb7c 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;
}