Skip to content

Commit 16f4d6c

Browse files
jukkarhenrikbrixandersen
authored andcommitted
tests: net: ipv6: Fix printf modifier
Printing long int requires %ld when priting error. Signed-off-by: Jukka Rissanen <[email protected]>
1 parent ffb1e63 commit 16f4d6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/net/ipv6/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ ZTEST(net_ipv6, test_send_neighbor_discovery)
848848
k_mem_slab_num_free_get(tx), avail_pkt_count);
849849

850850
zassert_equal(atomic_get(&tx_data->avail_count), avail_buf_count,
851-
"Unexpected tx data pool available count (%d vs %d)",
851+
"Unexpected tx data pool available count (%ld vs %d)",
852852
atomic_get(&tx_data->avail_count), avail_buf_count);
853853
}
854854

0 commit comments

Comments
 (0)