]> www.infradead.org Git - users/borneoa/openocd-next.git/commitdiff
rtos: Remove 'ERROR: ' prefix in error log
authorMarc Schink <dev@zapb.de>
Wed, 23 Oct 2024 13:02:10 +0000 (15:02 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 23 Nov 2024 13:53:24 +0000 (13:53 +0000)
Remove the prefix since it is redundant. While at it, also
get rid of the useless exclamation mark.

Change-Id: I8707342c602cea735c5a423b37ebe40a3aafb137
Signed-off-by: Marc Schink <dev@zapb.de>
Reviewed-on: https://review.openocd.org/c/openocd/+/8578
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/rtos/rtos.c

index cc0fecebea93d2f2ebb4d8cf392f44c58b9e7871..0dd538e8f26ba9a1102156ed204ee5483f727449 100644 (file)
@@ -309,7 +309,7 @@ int rtos_qsymbol(struct connection *connection, char const *packet, int packet_s
        reply_len += 2 * strlen(next_suffix);            /* hexify(..., next_suffix, ...) */
        reply_len += 1;                                  /* Terminating NUL */
        if (reply_len > sizeof(reply)) {
-               LOG_ERROR("ERROR: RTOS symbol '%s%s' name is too long for GDB!", next_sym->symbol_name, next_suffix);
+               LOG_ERROR("RTOS symbol '%s%s' name is too long for GDB", next_sym->symbol_name, next_suffix);
                goto done;
        }