summaryrefslogtreecommitdiff
path: root/sys-utils
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@justemail.net>2010-06-10 14:29:27 +0200
committerKarel Zak <kzak@redhat.com>2010-06-14 11:19:19 +0200
commite6b0611b4622d70569705dd6eef68002a5a1298c (patch)
tree8155ecf25914ec8092d23a656db3da87902583c6 /sys-utils
parentd0bb6987a85fd84a3410a21a89592d4809148465 (diff)
downloadutil-linux-old-e6b0611b4622d70569705dd6eef68002a5a1298c.tar.gz
messages: gettextize a few skipped or forgotten ones
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'sys-utils')
-rw-r--r--sys-utils/lscpu.c2
-rw-r--r--sys-utils/tunelp.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c
index 780f1d62..72d1054b 100644
--- a/sys-utils/lscpu.c
+++ b/sys-utils/lscpu.c
@@ -735,7 +735,7 @@ print_readable(struct lscpu_desc *desc)
char buf[512];
int i;
- print_s("Architecture:", desc->arch);
+ print_s(_("Architecture:"), desc->arch);
if (desc->mode & (MODE_REAL | MODE_TRANSPARENT | MODE_LONG)) {
char buf[64], *p = buf;
diff --git a/sys-utils/tunelp.c b/sys-utils/tunelp.c
index 619cf422..00ad5b76 100644
--- a/sys-utils/tunelp.c
+++ b/sys-utils/tunelp.c
@@ -81,7 +81,7 @@ print_usage(char *progname) {
static void
print_version(char *progname) {
- printf("%s (%s)\n", progname, PACKAGE_STRING);
+ printf(_("%s (%s)\n"), progname, PACKAGE_STRING);
}
static void *
@@ -256,7 +256,7 @@ main (int argc, char ** argv) {
status = 0xdeadbeef;
retval = ioctl(fd, LPGETSTATUS - offset, &status);
if (retval < 0)
- perror("LPGETSTATUS error");
+ perror(_("LPGETSTATUS error"));
else {
if (status == 0xdeadbeef) /* a few 1.1.7x kernels will do this */
status = retval;
@@ -271,7 +271,7 @@ main (int argc, char ** argv) {
} else
#endif /* LPGETSTATUS */
if (ioctl(fd, cmds->op - offset, cmds->val) < 0) {
- perror("tunelp: ioctl");
+ perror(_("tunelp: ioctl failed"));
}
cmdst = cmds;
cmds = cmds->next;