about summary refs log tree commit diff
path: root/timezone
diff options
context:
space:
mode:
Diffstat (limited to 'timezone')
-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 af37d8ae6a..642b45a0ed 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;
     }
 }