forked from nuttx/nuttx-update
drivers/net/enc28j60.c: Fix syslog formats
This commit is contained in:
parent
3086ceb28a
commit
fc05f89c78
1 changed files with 8 additions and 4 deletions
|
@ -2081,8 +2081,10 @@ static int enc_ifup(struct net_driver_s *dev)
|
|||
int ret;
|
||||
|
||||
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));
|
||||
|
||||
/* Lock the SPI bus so that we have exclusive access */
|
||||
|
||||
|
@ -2153,8 +2155,10 @@ static int enc_ifdown(struct net_driver_s *dev)
|
|||
int ret;
|
||||
|
||||
ninfo("Taking down: %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));
|
||||
|
||||
/* Lock the SPI bus so that we have exclusive access */
|
||||
|
||||
|
|
Loading…
Reference in a new issue