diff options
author | Rui Miguel Silva <rui.silva@linaro.org> | 2022-09-23 09:54:52 +0100 |
---|---|---|
committer | Rui Miguel Silva <rui.silva@linaro.org> | 2022-09-23 11:33:13 +0100 |
commit | 3a8a12146a8e6ac1e1fdd610377ee17baca421f3 (patch) | |
tree | 95db3811206663442743895310ae562021cff943 | |
parent | 7772ae31c6c0d92f98ee4a5d8c0c7b2021baaed8 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |