summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRui Miguel Silva <rui.silva@linaro.org>2022-09-23 09:54:52 +0100
committerRui Miguel Silva <rui.silva@linaro.org>2022-09-23 11:33:13 +0100
commit3a8a12146a8e6ac1e1fdd610377ee17baca421f3 (patch)
tree95db3811206663442743895310ae562021cff943
parent7772ae31c6c0d92f98ee4a5d8c0c7b2021baaed8 (diff)
Fix print of sent message
Timer is sent to boot processor as message body, however the intention was to print is value in the message, that was not being done. Add the format to print statement. Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
-rw-r--r--test-app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-app.c b/test-app.c
index 28ed9a3..8bc960a 100644
--- a/test-app.c
+++ b/test-app.c
@@ -254,7 +254,7 @@ static int se_timer_test(void)
TRY_OPEN(fd_semhu1_ept, "/dev/rpmsg0", O_RDWR);
write(fd_semhu1_ept, &message, sizeof(message));
- printf("Sent timer test command to boot processor\n", message);
+ printf("Sent timer: %d, test command to boot processor\n", message);
/* destroy endpoints */
TRY_IOCTL(status, fd_semhu1_ept, RPMSG_DESTROY_EPT_IOCTL);