aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/target/target_request.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/target_request.c b/src/target/target_request.c
index 6ca204b..2df2958 100644
--- a/src/target/target_request.c
+++ b/src/target/target_request.c
@@ -56,7 +56,7 @@ static int target_asciimsg(struct target *target, uint32_t length)
LOG_DEBUG("%s", msg);
while (c) {
- command_print(c->cmd_ctx, "%s", msg);
+ command_output_text(c->cmd_ctx, msg);
c = c->next;
}
@@ -100,7 +100,7 @@ static int target_hexmsg(struct target *target, int size, uint32_t length)
LOG_DEBUG("%s", line);
while (c) {
- command_print(c->cmd_ctx, "%s", line);
+ command_output_text(c->cmd_ctx, line);
c = c->next;
}
c = target->dbgmsg;