mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
gnrc_netif: fix DEBUG output on error
`res` is an integer that is always negative in the given case, so using `%u` here might be a little bit confusing.
This commit is contained in:
parent
116642f1de
commit
05bca5b2cf
@ -1328,7 +1328,7 @@ static void *_gnrc_netif_thread(void *args)
|
||||
DEBUG("gnrc_netif: GNRC_NETDEV_MSG_TYPE_SND received\n");
|
||||
res = netif->ops->send(netif, msg.content.ptr);
|
||||
if (res < 0) {
|
||||
DEBUG("gnrc_netif: error sending packet %p (code: %u)\n",
|
||||
DEBUG("gnrc_netif: error sending packet %p (code: %i)\n",
|
||||
msg.content.ptr, res);
|
||||
}
|
||||
#ifdef MODULE_NETSTATS_L2
|
||||
|
Loading…
Reference in New Issue
Block a user