Commit 0cb761a7 authored by Federico Vaga's avatar Federico Vaga Committed by Federico Vaga

tools: fix printf string format

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 4f45f305
......@@ -100,7 +100,7 @@ static int dump_message(struct trtl_dev *trtl, struct trtl_hmq *hmq)
trtl_message_unpack(wmsg, &h, NULL);
fprintf(stdout, "\n ---- header ----\n");
fprintf(stdout, " app_id 0x%x | msg_id %d | slot_io 0x%x | seq %d\n",
fprintf(stdout, " app_id 0x%x | msg_id %d | slot_io 0x%x | seq %u\n",
h.rt_app_id, h.msg_id, h.slot_io, h.seq);
fprintf(stdout, " len %d | flags 0x%x | trans 0x%x | time %d\n",
h.len, h.flags, h.trans, h.time);
......
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