summaryrefslogtreecommitdiffstats
path: root/sys-utils/swapon.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 /sys-utils/swapon.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 'sys-utils/swapon.c')
-rw-r--r--sys-utils/swapon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/swapon.c b/sys-utils/swapon.c
index 6efe48296..d5b7e3789 100644
--- a/sys-utils/swapon.c
+++ b/sys-utils/swapon.c
@@ -279,7 +279,7 @@ static int swap_reinitialize(const char *device,
cmd[idx++] = (char *) device;
cmd[idx++] = NULL;
execv(cmd[0], cmd);
- err(EXIT_FAILURE, _("execv failed"));
+ err(EXIT_FAILURE, _("failed to execute %s"), cmd[0]);
default: /* parent */
do {