The warnx function adds a newline by itself already.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
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
}
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
}