aboutsummaryrefslogtreecommitdiff
path: root/binutils/cxxfilt.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/cxxfilt.c')
-rw-r--r--binutils/cxxfilt.c4
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);
}
}