diff options
author | Sami Kerola | 2013-01-30 21:33:24 +0100 |
---|---|---|
committer | Karel Zak | 2013-02-06 11:51:17 +0100 |
commit | 07ff972eb684cfc88ca1931123fc255927393118 (patch) | |
tree | a80a15a3a7dc03bff8c402ea27e4269f4a01644a /sys-utils/swapon.c | |
parent | a pointer should not be compared to zero [coccinelle] (diff) | |
download | kernel-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.c | 2 |
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 { |