From: Jan Beulich Date: Thu, 16 Feb 2023 08:56:50 +0000 (+0100) Subject: RISC-V: as_warn() already emits a newline X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c84b3d7eaa3aec024ff2482e3a1fea0e89d01839;p=binutils-gdb.git RISC-V: as_warn() already emits a newline Therefore there shouldn't be any at the end of the format string. --- 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 ();