diff --git a/examples/rpmsgsocket/rpsock_client.c b/examples/rpmsgsocket/rpsock_client.c index e1f8bfd36..b35d60598 100644 --- a/examples/rpmsgsocket/rpsock_client.c +++ b/examples/rpmsgsocket/rpsock_client.c @@ -201,7 +201,7 @@ static int rpsock_unsync_test(struct rpsock_arg_s *args) if (intp[i] != ALIGN_UP(total) / sizeof(uint32_t) + i) { printf("client check fail total %d, \ - i %d, %08x, %08x\n", + i %d, %08" PRIx32 ", %08x\n", ALIGN_UP(total), i, intp[i], ALIGN_UP(total) / sizeof(uint32_t) + i); }