mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
sys/net/gnrc/netif: print which netif failed to init
This commit is contained in:
parent
7790f85054
commit
c5b6a49b21
@ -1952,7 +1952,7 @@ static void *_gnrc_netif_thread(void *args)
|
||||
/* signal that driver init is done */
|
||||
mutex_unlock(&ctx->init_done);
|
||||
if (ctx->result < 0) {
|
||||
LOG_ERROR("gnrc_netif: init failed: %d\n", ctx->result);
|
||||
LOG_ERROR("gnrc_netif: init %u failed: %d\n", thread_getpid(), ctx->result);
|
||||
return NULL;
|
||||
}
|
||||
#ifdef MODULE_NETSTATS_L2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user