net: vlan: Avoid printf modifier issue with size_t variable
Change the printf modifier to %zd for size_t variable printout to avoid compiler warning. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This commit is contained in:
parent
59c9e84ab6
commit
0e5df7a67b
1 changed files with 1 additions and 1 deletions
|
@ -448,7 +448,7 @@ int net_eth_vlan_enable(struct net_if *iface, uint16_t tag)
|
|||
continue;
|
||||
}
|
||||
|
||||
NET_DBG("[%d] Adding vlan tag %d to iface %d (%p) attached to %d (%p)",
|
||||
NET_DBG("[%zd] Adding vlan tag %d to iface %d (%p) attached to %d (%p)",
|
||||
i, vlan->tag, net_if_get_by_iface(vlan->iface), vlan->iface,
|
||||
net_if_get_by_iface(iface), iface);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue