diff options
author | Alan Modra <amodra@gmail.com> | 2007-11-26 01:53:59 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-11-26 01:53:59 +0000 |
commit | 1afcb04ce098f4d0d917841c08147ca7c91a41b0 (patch) | |
tree | 24c02cc6979c89d10fd54817faa97fe2e0a1e6ef /binutils/cxxfilt.c | |
parent | ee21dcabf8535bf9a97d9d35fae5715bcbd77e7e (diff) | |
download | gdb-1afcb04ce098f4d0d917841c08147ca7c91a41b0.zip gdb-1afcb04ce098f4d0d917841c08147ca7c91a41b0.tar.gz gdb-1afcb04ce098f4d0d917841c08147ca7c91a41b0.tar.bz2 |
* cxxfilt.c (demangle_it): Don't call printf without format string.
Diffstat (limited to 'binutils/cxxfilt.c')
-rw-r--r-- | binutils/cxxfilt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/cxxfilt.c b/binutils/cxxfilt.c index e0d1b3f..770df9b 100644 --- a/binutils/cxxfilt.c +++ b/binutils/cxxfilt.c @@ -63,12 +63,12 @@ demangle_it (char *mangled_name) result = cplus_demangle (mangled_name + skip_first, flags); if (result == NULL) - printf (mangled_name); + printf ("%s", mangled_name); else { if (mangled_name[0] == '.') putchar ('.'); - printf (result); + printf ("%s", result); free (result); } } |