diff --git a/src/core/linker.cpp b/src/core/linker.cpp index de168fade..6ea2bc394 100644 --- a/src/core/linker.cpp +++ b/src/core/linker.cpp @@ -365,7 +365,7 @@ void Linker::InitTlsForThread(bool is_primary) { if (!addr_out) { // TODO: Properly log thread handle on assert. auto pth_id = pthread_self(); - ASSERT_MSG(addr_out, "Cannot allocate TLS block of size = {:#x} for thread {}", + ASSERT_MSG(addr_out, "Cannot allocate TLS block of size = {:#x} for thread {}", total_tls_size, pth_id); } #endif