summaryrefslogtreecommitdiff
path: root/src/realpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/realpath.c')
-rw-r--r--src/realpath.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/realpath.c b/src/realpath.c
index 0c553271..d1fca7b3 100644
--- a/src/realpath.c
+++ b/src/realpath.c
@@ -1,5 +1,5 @@
/* realpath - print the resolved path
- Copyright (C) 2011-2014 Free Software Foundation, Inc.
+ Copyright (C) 2011-2015 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -88,7 +88,7 @@ all but the last component must exist\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- emit_ancillary_info ();
+ emit_ancillary_info (PROGRAM_NAME);
}
exit (status);
}
@@ -273,5 +273,5 @@ main (int argc, char **argv)
for (; optind < argc; ++optind)
ok &= process_path (argv[optind], can_mode);
- exit (ok ? EXIT_SUCCESS : EXIT_FAILURE);
+ return ok ? EXIT_SUCCESS : EXIT_FAILURE;
}