From: Tobias Stoeckmann Date: Sat, 18 Apr 2026 08:19:23 +0000 (+0200) Subject: wdctl: Remove newline from warning message X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=d04daeadb71a35717996f8f0c787ac3e68f15b92;p=thirdparty%2Futil-linux.git wdctl: Remove newline from warning message The warnx function adds a newline by itself already. Signed-off-by: Tobias Stoeckmann --- diff --git a/sys-utils/wdctl.c b/sys-utils/wdctl.c index 6fca5e260..39ae5fd93 100644 --- a/sys-utils/wdctl.c +++ b/sys-utils/wdctl.c @@ -381,7 +381,7 @@ static int show_flags(struct wd_control *ctl, struct wd_device *wd, uint32_t wan } if (flags) - warnx(_("%s: unknown flags 0x%x\n"), wd->devpath, flags); + warnx(_("%s: unknown flags 0x%x"), wd->devpath, flags); scols_print_table(table); rc = 0;