diff options
Diffstat (limited to 'src/fid.c')
-rw-r--r-- | src/fid.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -71,7 +71,7 @@ usage (void) { fprintf (stderr, _("Try `%s --help' for more information.\n"), program_name); - exit (1); + exit (EXIT_FAILURE); } static void __attribute__((__noreturn__)) @@ -89,7 +89,7 @@ also given list the identifiers that occur in both files.\n\ --version output version information and exit\n\ ")); printf (_("\nReport bugs to " PACKAGE_BUGREPORT "\n\n")); - exit (0); + exit (EXIT_SUCCESS); } int @@ -136,7 +136,7 @@ main (int argc, char **argv) if (show_version) { printf ("%s - %s\n", program_name, PACKAGE_VERSION); - exit (0); + exit (EXIT_SUCCESS); } if (show_help) @@ -158,7 +158,7 @@ main (int argc, char **argv) /* Look for the ID database up the tree */ idh.idh_file_name = locate_id_file_name (idh.idh_file_name); if (idh.idh_file_name == 0) - error (1, errno, _("can't locate `ID'")); + error (EXIT_FAILURE, errno, _("can't locate `ID'")); init_idh_obstacks (&idh); init_idh_tables (&idh); |