summaryrefslogtreecommitdiff
path: root/src/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/printf.c')
-rw-r--r--src/printf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/printf.c b/src/printf.c
index 7d523100f..3d303be70 100644
--- a/src/printf.c
+++ b/src/printf.c
@@ -657,7 +657,7 @@ main (int argc, char **argv)
{
version_etc (stdout, PROGRAM_NAME, PACKAGE_NAME, Version, AUTHORS,
(char *) NULL);
- exit (EXIT_SUCCESS);
+ return EXIT_SUCCESS;
}
}
@@ -692,5 +692,5 @@ main (int argc, char **argv)
_("warning: ignoring excess arguments, starting with %s"),
quote (argv[0]));
- exit (exit_status);
+ return exit_status;
}