summary refs log tree commit diff
path: root/stdlib/tst-strtol.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-strtol.c')
-rw-r--r--stdlib/tst-strtol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/tst-strtol.c b/stdlib/tst-strtol.c
index ae8fdd4905..db065d6f0a 100644
--- a/stdlib/tst-strtol.c
+++ b/stdlib/tst-strtol.c
@@ -169,7 +169,7 @@ main (void)
 	}
     }
 
-  exit (status ? EXIT_FAILURE : EXIT_SUCCESS);
+  return status ? EXIT_FAILURE : EXIT_SUCCESS;
 }
 
 static void