Commit 4f2a1543 authored by Adam Wujek's avatar Adam Wujek

tools/dump_mem_ppsi_wrpc: fix printout of RelativeDifference

Two 32 bit parts were not swapped.
Raw value was printed correctly.
Signed-off-by: 's avatarAdam Wujek <adam.wujek@creotech.pl>
parent e8f74c72
......@@ -645,7 +645,7 @@ void dump_one_field_ppsi_wrpc(int type, int size, void *p, int i)
break;
case dump_type_RelativeDifference:
printf("%15s, ", relativeDifferenceToString(*rd, buf));
printf("%15s, ", relativeDifferenceToString(wrpc_get_64(rd), buf));
printf("raw: %15lld\n", wrpc_get_64(p));
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment