From 291af4bce101bde619a198cee5c39a8e3f3caa40 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Wed, 30 Jan 2013 20:33:25 +0000 Subject: eject: remove a duplicate command name from error message Let the err() print the command name. Signed-off-by: Sami Kerola --- sys-utils/eject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys-utils/eject.c') diff --git a/sys-utils/eject.c b/sys-utils/eject.c index e28837155..a5b56565d 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); -- cgit v1.2.3-55-g7522