diff --git a/src/ulib/system/thread.cpp b/src/ulib/system/thread.cpp index b892696..8216164 100644 --- a/src/ulib/system/thread.cpp +++ b/src/ulib/system/thread.cpp @@ -39,7 +39,7 @@ public: #if __APPLE__ pthread_setname_np(impl->thread_name_.c_str()); #else - pthread_setname_np(&impl->thread_, impl->thread_name_.c_str()); + pthread_setname_np(impl->thread_, impl->thread_name_.c_str()); #endif impl->latch_.CountDown();