summaryrefslogtreecommitdiff
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
commit615f6b77cb456e3b1361a33a82c04dae2b75db0d (patch)
tree3842396c4f806630ce15b22690b2eafba1e3c175 /gprof/gmon_io.c
parentc5e3e307f304546b119f3ad1783db0ed1c464ef0 (diff)
downloadbinutils-redhat-615f6b77cb456e3b1361a33a82c04dae2b75db0d.tar.gz
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 cff132cb5a..207e3d0aca 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;
}
}