summaryrefslogtreecommitdiffstats
path: root/sys-utils/tunelp.c
diff options
context:
space:
mode:
authorBenno Schulenberg2010-06-10 14:29:27 +0200
committerKarel Zak2010-06-14 11:19:19 +0200
commite6b0611b4622d70569705dd6eef68002a5a1298c (patch)
tree8155ecf25914ec8092d23a656db3da87902583c6 /sys-utils/tunelp.c
parenttextual: fix typos, and rephrase some things for clarity (diff)
downloadkernel-qcow2-util-linux-e6b0611b4622d70569705dd6eef68002a5a1298c.tar.gz
kernel-qcow2-util-linux-e6b0611b4622d70569705dd6eef68002a5a1298c.tar.xz
kernel-qcow2-util-linux-e6b0611b4622d70569705dd6eef68002a5a1298c.zip
messages: gettextize a few skipped or forgotten ones
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'sys-utils/tunelp.c')
-rw-r--r--sys-utils/tunelp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-utils/tunelp.c b/sys-utils/tunelp.c
index 619cf422e..00ad5b765 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;