summaryrefslogtreecommitdiffstats
path: root/sys-utils/setsid.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/setsid.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/setsid.c')
-rw-r--r--sys-utils/setsid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/setsid.c b/sys-utils/setsid.c
index 20bd0d7ba..b3e6ebfaf 100644
--- a/sys-utils/setsid.c
+++ b/sys-utils/setsid.c
@@ -94,5 +94,5 @@ int main(int argc, char **argv)
warn(_("failed to set the controlling terminal"));
}
execvp(argv[optind], argv + optind);
- err(EXIT_FAILURE, _("execvp failed"));
+ err(EXIT_FAILURE, _("failed to execute %s"), argv[optind]);
}