From c5b6a49b216051f34ddfbca518a7e03d7241a190 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Tue, 28 Nov 2023 15:39:56 +0100 Subject: [PATCH] sys/net/gnrc/netif: print which netif failed to init --- sys/net/gnrc/netif/gnrc_netif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/gnrc/netif/gnrc_netif.c b/sys/net/gnrc/netif/gnrc_netif.c index d92b522a7a..7c33094179 100644 --- a/sys/net/gnrc/netif/gnrc_netif.c +++ b/sys/net/gnrc/netif/gnrc_netif.c @@ -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