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/ldcref.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/ldcref.c')
-rw-r--r-- | ld/ldcref.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldcref.c b/ld/ldcref.c index c75b8e6..e208106 100644 --- a/ld/ldcref.c +++ b/ld/ldcref.c @@ -1,5 +1,5 @@ /* ldcref.c -- output a cross reference table - Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1996, 97, 98, 99, 2000 Free Software Foundation, Inc. Written by Ian Lance Taylor <ian@cygnus.com> This file is part of GLD, the Gnu Linker. @@ -238,7 +238,7 @@ output_cref (fp) fprintf (fp, _("\nCross Reference Table\n\n")); msg = _("Symbol"); - fprintf (fp, msg); + fprintf (fp, "%s", msg); len = strlen (msg); while (len < FILECOL) { |