diff options
author | Alan Modra <amodra@gmail.com> | 2000-01-26 23:11:48 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-01-26 23:11:48 +0000 |
commit | 305c72062b487da283913b9f4b3016b0546c64a3 (patch) | |
tree | a298d4281e21b134459e5f9d5ce964bb95469bc7 /ld/ldmisc.c | |
parent | 4c63da97a708e211a7141e29082ab589cbdbcb12 (diff) | |
download | gdb-305c72062b487da283913b9f4b3016b0546c64a3.zip gdb-305c72062b487da283913b9f4b3016b0546c64a3.tar.gz gdb-305c72062b487da283913b9f4b3016b0546c64a3.tar.bz2 |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldmisc.c b/ld/ldmisc.c index 267dff1..e343944 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': |