aboutsummaryrefslogtreecommitdiff
path: root/binutils/size.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-04-07 04:34:50 +0000
committerAlan Modra <amodra@gmail.com>2000-04-07 04:34:50 +0000
commit37cc8ec1be0959c1878e79fd2baed888da4a2775 (patch)
tree3f0c84ec0246e8da024b05540c58b082c583dd31 /binutils/size.c
parentd311cd50fc8c3fc9b344cc2a893572d6c0ae44d7 (diff)
downloadfsf-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/size.c')
-rw-r--r--binutils/size.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/binutils/size.c b/binutils/size.c
index fefb8db..070834b 100644
--- a/binutils/size.c
+++ b/binutils/size.c
@@ -1,5 +1,5 @@
/* size.c -- report size of various sections of an executable file.
- Copyright 1991, 92, 93, 94, 95, 96, 97, 98, 1999
+ Copyright 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
This file is part of GNU Binutils.
@@ -136,7 +136,7 @@ main (argc, argv)
berkeley_format = 0;
break;
default:
- fprintf (stderr, _("invalid argument to --format: %s\n"), optarg);
+ non_fatal (_("invalid argument to --format: %s"), optarg);
usage (stderr, 1);
}
break;
@@ -163,7 +163,7 @@ main (argc, argv)
radix = hex;
break;
default:
- printf (_("Invalid radix: %s\n"), optarg);
+ non_fatal (_("Invalid radix: %s\n"), optarg);
usage (stderr, 1);
}
break;