1
0
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:
Benjamin Valentin 2023-11-28 15:39:56 +01:00
parent 7790f85054
commit c5b6a49b21

View File

@ -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