|
From: openocd-gerrit <ope...@us...> - 2025-11-22 19:33:24
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Main OpenOCD repository".
The branch, master has been updated
via 461af9b3abd1aeb94f047f990074b7e5d954fbea (commit)
from aa6a07108643acc1762efa34ea39c6421389b66b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 461af9b3abd1aeb94f047f990074b7e5d954fbea
Author: Erhan Kurubas <erh...@es...>
Date: Mon Oct 24 18:08:35 2022 +0200
rtt/tcl: fix format specifiers
Format specifier in the LOG_XXX calls replaced as below;
type old new
uint32_t %u %PRIu32
Signed-off-by: Erhan Kurubas <erh...@es...>
Change-Id: Ie351a63088c63f33467ad3c854167870bc1b4843
Reviewed-on: https://review.openocd.org/c/openocd/+/7286
Tested-by: jenkins
Reviewed-by: Antonio Borneo <bor...@gm...>
diff --git a/src/rtt/tcl.c b/src/rtt/tcl.c
index bae71b6ce..beb12d90d 100644
--- a/src/rtt/tcl.c
+++ b/src/rtt/tcl.c
@@ -117,7 +117,7 @@ COMMAND_HANDLER(handle_rtt_channels_command)
ctrl = rtt_get_control();
- command_print(CMD, "Channels: up=%u, down=%u", ctrl->num_up_channels,
+ command_print(CMD, "Channels: up=%" PRIu32 ", down=%" PRIu32, ctrl->num_up_channels,
ctrl->num_down_channels);
command_print(CMD, "Up-channels:");
@@ -134,7 +134,7 @@ COMMAND_HANDLER(handle_rtt_channels_command)
if (!info.size)
continue;
- command_print(CMD, "%u: %s %u %u", i, info.name, info.size,
+ command_print(CMD, "%u: %s %" PRIu32 " %" PRIu32, i, info.name, info.size,
info.flags);
}
@@ -149,7 +149,7 @@ COMMAND_HANDLER(handle_rtt_channels_command)
if (!info.size)
continue;
- command_print(CMD, "%u: %s %u %u", i, info.name, info.size,
+ command_print(CMD, "%u: %s %" PRIu32 " %" PRIu32, i, info.name, info.size,
info.flags);
}
-----------------------------------------------------------------------
Summary of changes:
src/rtt/tcl.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
Main OpenOCD repository
|