From c84b3d7eaa3aec024ff2482e3a1fea0e89d01839 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Thu, 16 Feb 2023 09:56:50 +0100 Subject: [PATCH] RISC-V: as_warn() already emits a newline Therefore there shouldn't be any at the end of the format string. --- gas/config/tc-riscv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gas/config/tc-riscv.c b/gas/config/tc-riscv.c index 08b806d8c4e..40550ba8d74 100644 --- a/gas/config/tc-riscv.c +++ b/gas/config/tc-riscv.c @@ -4179,7 +4179,7 @@ s_riscv_option (int x ATTRIBUTE_UNUSED) } else { - as_warn (_("unrecognized .option directive: %s\n"), name); + as_warn (_("unrecognized .option directive: %s"), name); } *input_line_pointer = ch; demand_empty_rest_of_line (); -- 2.30.2