aboutsummaryrefslogtreecommitdiff
path: root/timezone/test-tz.c
diff options
context:
space:
mode:
Diffstat (limited to 'timezone/test-tz.c')
-rw-r--r--timezone/test-tz.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/timezone/test-tz.c b/timezone/test-tz.c
index af37d8a..642b45a 100644
--- a/timezone/test-tz.c
+++ b/timezone/test-tz.c
@@ -46,11 +46,11 @@ main (int argc, char ** argv)
if (errors == 0)
{
puts ("No errors.");
- exit (EXIT_SUCCESS);
+ return EXIT_SUCCESS;
}
else
{
printf ("%d errors.\n", errors);
- exit (EXIT_FAILURE);
+ return EXIT_FAILURE;
}
}