diff options
author | Sami Kerola | 2013-01-30 21:33:25 +0100 |
---|---|---|
committer | Karel Zak | 2013-02-06 11:51:19 +0100 |
commit | 291af4bce101bde619a198cee5c39a8e3f3caa40 (patch) | |
tree | 008c15b97decc19c50309d4a26afb0798becdbd2 /sys-utils/eject.c | |
parent | translation: unify exec error messages (diff) | |
download | kernel-qcow2-util-linux-291af4bce101bde619a198cee5c39a8e3f3caa40.tar.gz kernel-qcow2-util-linux-291af4bce101bde619a198cee5c39a8e3f3caa40.tar.xz kernel-qcow2-util-linux-291af4bce101bde619a198cee5c39a8e3f3caa40.zip |
eject: remove a duplicate command name from error message
Let the err() print the command name.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/eject.c')
-rw-r--r-- | sys-utils/eject.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |