summaryrefslogtreecommitdiff
path: root/ld/ldmisc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2000-01-26 23:11:48 +0000
committerAlan Modra <amodra@bigpond.net.au>2000-01-26 23:11:48 +0000
commitc43ee1e6bcff1c0d44e8d6f9f1fdc75129fbc148 (patch)
tree7d6644ef22379b28b482ca99f919b7959012c203 /ld/ldmisc.c
parent32fee2a0e2873c01bfbea820b8538d50fe5b166e (diff)
downloadbinutils-redhat-c43ee1e6bcff1c0d44e8d6f9f1fdc75129fbc148.tar.gz
Most of these changes are really only cosmetic. The readelf.c patch
fixes a thinko in get_dynamic_flags. I found at least one message string that included a `%' being passed to printf in the format argument.
Diffstat (limited to 'ld/ldmisc.c')
-rw-r--r--ld/ldmisc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldmisc.c b/ld/ldmisc.c
index 267dff14bf..e3439445c4 100644
--- a/ld/ldmisc.c
+++ b/ld/ldmisc.c
@@ -1,5 +1,5 @@
/* ldmisc.c
- Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98, 1999
+ Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
Written by Steve Chamberlain of Cygnus Support.
@@ -213,7 +213,7 @@ vfinfo (fp, fmt, arg)
case 'E':
/* current bfd error or errno */
- fprintf (fp, bfd_errmsg (bfd_get_error ()));
+ fprintf (fp, "%s", bfd_errmsg (bfd_get_error ()));
break;
case 'I':