summaryrefslogtreecommitdiff
path: root/gprof/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/utils.c')
-rw-r--r--gprof/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/utils.c b/gprof/utils.c
index e1f031d5e8..c72c02e01f 100644
--- a/gprof/utils.c
+++ b/gprof/utils.c
@@ -69,7 +69,7 @@ DEFUN (print_name_only, (self), Sym * self)
}
}
sprintf (buf, " (%s:%d)", filename, self->line_num);
- printf (buf);
+ printf ("%s", buf);
size += strlen (buf);
}
if (demangled)