j1939cat: fix long long unsigned int warning in x_name printf
warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 8 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
Fixes: cc155d2f63 ("j1939cat: make use of new RX UAPI")
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
pull/315/head
parent
9f269db070
commit
7b8457ce9f
|
|
@ -265,7 +265,7 @@ static int j1939cat_extract_serr(struct j1939cat_priv *priv)
|
|||
case J1939_EE_INFO_RX_RTS:
|
||||
stats->tskey = serr->ee_data;
|
||||
j1939cat_print_timestamp(priv, "RX RTS", &tss->ts[0]);
|
||||
fprintf(stderr, " total size: %u, pgn=0x%05x, sa=0x%02x, da=0x%02x src_name=0x%08llx, dst_name=0x%08llx)\n",
|
||||
fprintf(stderr, " total size: %u, pgn=0x%05x, sa=0x%02x, da=0x%02x src_name=0x%08lx, dst_name=0x%08lx)\n",
|
||||
stats->total, stats->pgn, stats->sa, stats->da,
|
||||
stats->src_name, stats->dst_name);
|
||||
priv->last_dpo = -1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue