From: Tomas Vanek Date: Wed, 21 Sep 2022 05:49:00 +0000 (+0200) Subject: flash/nor/rp2040: remove new line from error message X-Git-Url: https://git.gag.com/?p=fw%2Fopenocd;a=commitdiff_plain;h=ae937791d35b0820e0bc9bf0ab134c2bebd113e4 flash/nor/rp2040: remove new line from error message Change-Id: Idf3bce842b4507c1f12692b5fbcd6730637de9db Signed-off-by: Tomas Vanek Reviewed-on: https://review.openocd.org/c/openocd/+/7216 Reviewed-by: Antonio Borneo Reviewed-by: Jonathan Bell Tested-by: jenkins --- diff --git a/src/flash/nor/rp2040.c b/src/flash/nor/rp2040.c index 675f431b1..be86bb81e 100644 --- a/src/flash/nor/rp2040.c +++ b/src/flash/nor/rp2040.c @@ -132,7 +132,7 @@ static int rp2040_call_rom_func(struct target *target, struct rp2040_flash_bank for (unsigned int i = 0; i < n_args + 2; ++i) destroy_reg_param(&args[i]); if (err != ERROR_OK) - LOG_ERROR("Failed to invoke ROM function @0x%" PRIx16 "\n", func_offset); + LOG_ERROR("Failed to invoke ROM function @0x%" PRIx16, func_offset); return err; }