From: Tobias Stoeckmann Date: Sat, 18 Apr 2026 08:18:49 +0000 (+0200) Subject: eject: Remove newline from warning messages X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=98932e3807138ad720795eaf2c04b21d393d7cbe;p=thirdparty%2Futil-linux.git eject: Remove newline from warning messages The warnx function adds a newline by itself already. Signed-off-by: Tobias Stoeckmann --- diff --git a/sys-utils/eject.c b/sys-utils/eject.c index d8d413177..6e0e7cbc8 100644 --- a/sys-utils/eject.c +++ b/sys-utils/eject.c @@ -365,7 +365,7 @@ static void changer_select(const struct eject_control *ctl) if (ioctl(ctl->fd, CDROMLOADFROMSLOT, ctl->c_arg) != 0) err(EXIT_FAILURE, _("CD-ROM load from slot command failed")); #else - warnx(_("IDE/ATAPI CD-ROM changer not supported by this kernel\n") ); + warnx(_("IDE/ATAPI CD-ROM changer not supported by this kernel") ); #endif } @@ -385,7 +385,7 @@ static void close_tray(int fd) if (status != 0) err(EXIT_FAILURE, _("CD-ROM tray close command failed")); #else - warnx(_("CD-ROM tray close command not supported by this kernel\n")); + warnx(_("CD-ROM tray close command not supported by this kernel")); #endif }