From 39a5a2314be3e3b5af50f5c5cb56d853eabb2bfb Mon Sep 17 00:00:00 2001
From: Pedro Ribeiro
Date: Fri, 3 Oct 2008 09:27:33 +0200
Subject: [PATCH] readprofile: several strings without gettext calls
Signed-off-by: Pedro Ribeiro
Signed-off-by: Karel Zak
---
sys-utils/readprofile.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sys-utils/readprofile.c b/sys-utils/readprofile.c
index 950e9051..52f5d8c9 100644
--- a/sys-utils/readprofile.c
+++ b/sys-utils/readprofile.c
@@ -224,7 +224,7 @@ main(int argc, char **argv) {
exit(1);
}
if (write(fd, &multiplier, to_write) != to_write) {
- fprintf(stderr, "readprofile: error writing %s: %s\n",
+ fprintf(stderr, _("readprofile: error writing %s: %s\n"),
defaultpro, strerror(errno));
exit(1);
}
@@ -265,8 +265,8 @@ main(int argc, char **argv) {
small++;
}
if (big > small) {
- fprintf(stderr,"Assuming reversed byte order. "
- "Use -n to force native byte order.\n");
+ fprintf(stderr,_("Assuming reversed byte order. "
+ "Use -n to force native byte order.\n"));
for (p = buf; p < buf+entries; p++)
for (i = 0; i < sizeof(*buf)/2; i++) {
unsigned char *b = (unsigned char *) p;
--
2.39.5