Let the err() print the command name. Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- sys-utils/eject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-utils/eject.c b/sys-utils/eject.c index e288371..a5b5656 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); -- 1.8.1.2 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html