diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-02-01 16:18:18 -0800 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-02-01 16:18:18 -0800 |
commit | 5ee720c60a298352b52513d03ede85814ab63ad5 (patch) | |
tree | 71b625112edf63aea0552f7ff3b3ab0875100172 /src/elflint.c | |
parent | 119f4acbaec5b538a4206fd261067137d3588f55 (diff) | |
download | elfutils-5ee720c60a298352b52513d03ede85814ab63ad5.tar.gz |
Fix error handling in a few programs.
Diffstat (limited to 'src/elflint.c')
-rw-r--r-- | src/elflint.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/elflint.c b/src/elflint.c index 826d94c3..7ddf3a9a 100644 --- a/src/elflint.c +++ b/src/elflint.c @@ -220,9 +220,8 @@ parse_opt (int key, char *arg __attribute__ ((unused)), case ARGP_KEY_NO_ARGS: fputs (gettext ("Missing file name.\n"), stderr); - argp_help (&argp, stderr, ARGP_HELP_SEE | ARGP_HELP_EXIT_ERR, - program_invocation_short_name); - exit (1); + argp_help (&argp, stderr, ARGP_HELP_SEE, program_invocation_short_name); + exit (EXIT_FAILURE); default: return ARGP_ERR_UNKNOWN; |