diff options
author | Alan Modra <amodra@gmail.com> | 2000-04-07 04:34:50 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-04-07 04:34:50 +0000 |
commit | 37cc8ec1be0959c1878e79fd2baed888da4a2775 (patch) | |
tree | 3f0c84ec0246e8da024b05540c58b082c583dd31 /binutils/sysdump.c | |
parent | d311cd50fc8c3fc9b344cc2a893572d6c0ae44d7 (diff) | |
download | fsf-binutils-gdb-37cc8ec1be0959c1878e79fd2baed888da4a2775.zip fsf-binutils-gdb-37cc8ec1be0959c1878e79fd2baed888da4a2775.tar.gz fsf-binutils-gdb-37cc8ec1be0959c1878e79fd2baed888da4a2775.tar.bz2 |
A mostly cosmetic tidy up of warnings and error message reporting.
Diffstat (limited to 'binutils/sysdump.c')
-rw-r--r-- | binutils/sysdump.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/binutils/sysdump.c b/binutils/sysdump.c index c821e8c..fd2a0ea 100644 --- a/binutils/sysdump.c +++ b/binutils/sysdump.c @@ -1,5 +1,5 @@ /* Sysroff object format dumper. - Copyright (C) 1994, 95, 98, 1999 Free Software Foundation, Inc. + Copyright (C) 1994, 95, 98, 99, 2000 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -772,17 +772,13 @@ main (ac, av) if (!input_file) { - fprintf (stderr, _("%s: no input file specified\n"), - program_name); - exit (1); + fatal (_("no input file specified")); } file = fopen (input_file, FOPEN_RB); if (!file) { - fprintf (stderr, _("%s: cannot open input file %s\n"), - program_name, input_file); - exit (1); + fatal (_("cannot open input file %s"), input_file); } module (); |