flash/nor/rp2040: remove new line from error message
[fw/openocd] / src / flash / nor / rp2040.c
index 675f431b159e14bfdc1508acaab6bb861ec2d559..be86bb81e7f14aaa973c4b8abe070fe414a00e63 100644 (file)
@@ -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;
 
 }