Skip to content

Commit

Permalink
sys/net/gnrc/netif: print which netif failed to init
Browse files Browse the repository at this point in the history
  • Loading branch information
benpicco committed Nov 28, 2023
1 parent 7790f85 commit c5b6a49
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 c5b6a49

Please sign in to comment.