summaryrefslogtreecommitdiffstats
path: root/text-utils/pg.c
diff options
context:
space:
mode:
authorSami Kerola2013-01-30 21:33:24 +0100
committerKarel Zak2013-02-06 11:51:17 +0100
commit07ff972eb684cfc88ca1931123fc255927393118 (patch)
treea80a15a3a7dc03bff8c402ea27e4269f4a01644a /text-utils/pg.c
parenta pointer should not be compared to zero [coccinelle] (diff)
downloadkernel-qcow2-util-linux-07ff972eb684cfc88ca1931123fc255927393118.tar.gz
kernel-qcow2-util-linux-07ff972eb684cfc88ca1931123fc255927393118.tar.xz
kernel-qcow2-util-linux-07ff972eb684cfc88ca1931123fc255927393118.zip
translation: unify exec error messages
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'text-utils/pg.c')
-rw-r--r--text-utils/pg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text-utils/pg.c b/text-utils/pg.c
index 95f59a944..ab7a85a95 100644
--- a/text-utils/pg.c
+++ b/text-utils/pg.c
@@ -1348,7 +1348,7 @@ static void pgfile(FILE *f, const char *name)
my_sigset(SIGTERM, oldterm);
execl(sh, sh, "-c",
cmd.cmdline + 1, NULL);
- warn("%s", sh);
+ warn(_("failed to execute %s"), sh);
_exit(0177);
/* NOTREACHED */
}