aboutsummaryrefslogtreecommitdiff
path: root/gprof/utils.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-01-26 23:11:48 +0000
committerAlan Modra <amodra@gmail.com>2000-01-26 23:11:48 +0000
commit305c72062b487da283913b9f4b3016b0546c64a3 (patch)
treea298d4281e21b134459e5f9d5ce964bb95469bc7 /gprof/utils.c
parent4c63da97a708e211a7141e29082ab589cbdbcb12 (diff)
downloadgdb-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 '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 e1f031d..c72c02e 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)