summaryrefslogtreecommitdiff
path: root/binutils/windres.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2000-04-07 04:34:50 +0000
committerAlan Modra <amodra@bigpond.net.au>2000-04-07 04:34:50 +0000
commit98976a6a819e5b88f5e7a357ce5288bf14c043ba (patch)
tree79a0350ab1cc5f9bc2648a1a0da2179ed03c8748 /binutils/windres.c
parent6a801f0da7d7fdd52289bd123f91aa2f2500c065 (diff)
downloadbinutils-redhat-98976a6a819e5b88f5e7a357ce5288bf14c043ba.tar.gz
A mostly cosmetic tidy up of warnings and error message reporting.
Diffstat (limited to 'binutils/windres.c')
-rw-r--r--binutils/windres.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/windres.c b/binutils/windres.c
index 5bc9bd337b..89f0ac2ecc 100644
--- a/binutils/windres.c
+++ b/binutils/windres.c
@@ -1,5 +1,5 @@
/* windres.c -- a program to manipulate Windows resources
- Copyright 1997, 1998, 1999 Free Software Foundation, Inc.
+ Copyright 1997, 98, 99, 2000 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Cygnus Support.
This file is part of GNU Binutils.
@@ -599,7 +599,7 @@ format_from_name (name)
if (m->name == NULL)
{
- fprintf (stderr, _("%s: unknown format type `%s'\n"), program_name, name);
+ non_fatal (_("unknown format type `%s'"), name);
fprintf (stderr, _("%s: supported formats:"), program_name);
for (m = format_names; m->name != NULL; m++)
fprintf (stderr, " %s", m->name);