Skip to content

Commit

Permalink
Merge pull request #20114 from benpicco/gnrc_netif-error
Browse files Browse the repository at this point in the history
sys/net/gnrc/netif: print which netif failed to init
  • Loading branch information
benpicco authored Nov 29, 2023
2 parents 0306600 + c5b6a49 commit 6eed92b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/net/gnrc/netif/gnrc_netif.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6eed92b

Please sign in to comment.