drivers/wireless/ieee80211/bcm43xxx/bcmf_netdev.c: Fix a syslog format

This commit is contained in:
YAMAMOTO Takashi 2020-12-04 22:20:42 +09:00 committed by Xiang Xiao
parent 2874f613a6
commit 5a57f10b9c

View File

@ -680,8 +680,10 @@ static int bcmf_ifup(FAR struct net_driver_s *dev)
#ifdef CONFIG_NET_IPv4
ninfo("Bringing up: %d.%d.%d.%d\n",
dev->d_ipaddr & 0xff, (dev->d_ipaddr >> 8) & 0xff,
(dev->d_ipaddr >> 16) & 0xff, dev->d_ipaddr >> 24);
(int)(dev->d_ipaddr & 0xff),
(int)((dev->d_ipaddr >> 8) & 0xff),
(int)((dev->d_ipaddr >> 16) & 0xff),
(int)(dev->d_ipaddr >> 24));
#endif
#ifdef CONFIG_NET_IPv6
ninfo("Bringing up: %04x:%04x:%04x:%04x:%04x:%04x:%04x:%04x\n",