1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #20114 from benpicco/gnrc_netif-error

sys/net/gnrc/netif: print which netif failed to init
This commit is contained in:
benpicco 2023-11-29 00:14:45 +00:00 committed by GitHub
commit 6eed92b1b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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