Mostly to cover common case when user does not have permission to use eject. 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 2d8b0cb..790ab3a 100644 --- a/sys-utils/eject.c +++ b/sys-utils/eject.c @@ -661,7 +661,7 @@ static int open_device(const char *name) if (fd < 0) fd = open(name, O_RDONLY|O_NONBLOCK); if (fd == -1) - errx(EXIT_FAILURE, _("%s: open failed"), name); + err(EXIT_FAILURE, _("%s: open failed"), name); return fd; } -- 1.7.9.6 -- 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