diff options
author | Alan Modra <amodra@gmail.com> | 2011-04-28 05:12:13 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2011-04-28 05:12:13 +0000 |
commit | 78f0be3d8aa4e18c958d9a9227b25ed631e60f14 (patch) | |
tree | 975f0d13cd77795f52e035860f79beff81ba1da5 /gprof | |
parent | 7ff120b4bf4d280ada76df69764a06cde85f9c6e (diff) | |
download | gdb-78f0be3d8aa4e18c958d9a9227b25ed631e60f14.zip gdb-78f0be3d8aa4e18c958d9a9227b25ed631e60f14.tar.gz gdb-78f0be3d8aa4e18c958d9a9227b25ed631e60f14.tar.bz2 |
* cg_print.c (print_header): Add no-c-format comment to prevent
confusion when translating "%time".
Diffstat (limited to 'gprof')
-rw-r--r-- | gprof/ChangeLog | 5 | ||||
-rw-r--r-- | gprof/cg_print.c | 9 |
2 files changed, 11 insertions, 3 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog index a1154c0..6b907ed 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,8 @@ +2011-04-28 Jonathan Nieder <jrnieder@gmail.com> + + * cg_print.c (print_header): Add no-c-format comment to prevent + confusion when translating "%time". + 2011-04-27 Nick Clifton <nickc@redhat.com> * po/eo.po: Updated Esperanto translation. diff --git a/gprof/cg_print.c b/gprof/cg_print.c index c1a2a31..8ff1471 100644 --- a/gprof/cg_print.c +++ b/gprof/cg_print.c @@ -1,6 +1,6 @@ /* cg_print.c - Print routines for displaying call graphs. - Copyright 2000, 2001, 2002, 2004, 2007, 2009 + Copyright 2000, 2001, 2002, 2004, 2007, 2009, 2011 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -96,8 +96,11 @@ print_header () printf ("%6.6s %5.5s %7.7s %11.11s %7.7s/%-7.7s %-8.8s\n", "", "", "", "", _("called"), _("total"), _("parents")); printf ("%-6.6s %5.5s %7.7s %11.11s %7.7s+%-7.7s %-8.8s\t%5.5s\n", - _("index"), _("%time"), _("self"), _("descendants"), - _("called"), _("self"), _("name"), _("index")); + _("index"), + /* xgettext:no-c-format */ + _("%time"), + _("self"), _("descendants"), _("called"), _("self"), + _("name"), _("index")); printf ("%6.6s %5.5s %7.7s %11.11s %7.7s/%-7.7s %-8.8s\n", "", "", "", "", _("called"), _("total"), _("children")); printf ("\n"); |