From: Pedro Ribeiro Date: Fri, 3 Oct 2008 07:27:33 +0000 (+0200) Subject: readprofile: several strings without gettext calls X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61d8e71668e3cdeed060e4b197ab2a622bd03e5b;p=util-linux readprofile: several strings without gettext calls Signed-off-by: Pedro Ribeiro Signed-off-by: Karel Zak --- 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;