aboutsummaryrefslogtreecommitdiff
path: root/time/tst-strptime2.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/tst-strptime2.c')
-rw-r--r--time/tst-strptime2.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/time/tst-strptime2.c b/time/tst-strptime2.c
index bcd6cc8be9..a08e6d7cb7 100644
--- a/time/tst-strptime2.c
+++ b/time/tst-strptime2.c
@@ -52,10 +52,7 @@ do_test (void)
}
}
- if (result == 0)
- puts ("all OK");
-
- return 0;
+ return result;
}
#define TEST_FUNCTION do_test ()