From: Sami Kerola Date: Wed, 30 Jan 2013 20:33:25 +0000 (+0000) Subject: eject: remove a duplicate command name from error message X-Git-Tag: v2.23-rc1~244 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=291af4bce101bde619a198cee5c39a8e3f3caa40;p=thirdparty%2Futil-linux.git eject: remove a duplicate command name from error message Let the err() print the command name. Signed-off-by: Sami Kerola --- diff --git a/sys-utils/eject.c b/sys-utils/eject.c index e28837155e..a5b56565d8 100644 --- a/sys-utils/eject.c +++ b/sys-utils/eject.c @@ -655,7 +655,7 @@ static void umount_one(const char *name) err(EXIT_FAILURE, _("cannot set group id")); if (setuid(getuid()) < 0) - err(EXIT_FAILURE, _("eject: cannot set user id")); + err(EXIT_FAILURE, _("cannot set user id")); if (p_option) execl("/bin/umount", "/bin/umount", name, "-n", NULL);