aboutsummaryrefslogtreecommitdiff
path: root/gprof/gmon_io.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-01-02 15:55:48 +0000
committerNick Clifton <nickc@redhat.com>2002-01-02 15:55:48 +0000
commitaf6dfb5b796c2e987b120550971b12efea54e16b (patch)
tree7565ec779e872a65551f2fb19474e6125ce7b8d0 /gprof/gmon_io.c
parent5eefb65fea305337aa7325acc53b5a00d0aa9800 (diff)
downloadgdb-af6dfb5b796c2e987b120550971b12efea54e16b.zip
gdb-af6dfb5b796c2e987b120550971b12efea54e16b.tar.gz
gdb-af6dfb5b796c2e987b120550971b12efea54e16b.tar.bz2
Fix spelling typo.
Reformat messages to ease translation into other languages.
Diffstat (limited to 'gprof/gmon_io.c')
-rw-r--r--gprof/gmon_io.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gprof/gmon_io.c b/gprof/gmon_io.c
index cff132c..207e3d0 100644
--- a/gprof/gmon_io.c
+++ b/gprof/gmon_io.c
@@ -447,12 +447,12 @@ DEFUN (gmon_out_read, (filename), const char *filename)
{
printf (_("File `%s' (version %d) contains:\n"),
filename, gmon_file_version);
- printf (_("\t%d histogram record%s\n"),
- nhist, nhist == 1 ? "" : "s");
- printf (_("\t%d call-graph record%s\n"),
- narcs, narcs == 1 ? "" : "s");
- printf (_("\t%d basic-block count record%s\n"),
- nbbs, nbbs == 1 ? "" : "s");
+ printf (ngettext ("\t%d histogram record\n",
+ "\t%d histogram records\n", nhist), nhist);
+ printf (ngettext ("\t%d call-graph record\n",
+ "\t%d call-graph records\n", narcs), narcs);
+ printf (ngettext ("\t%d basic-block count record\n",
+ "\t%d basic-block count records\n", nbbs), nbbs);
first_output = FALSE;
}
}