diff options
-rw-r--r-- | common/threads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/threads.c b/common/threads.c index 8a1ad6ea..1f6f2223 100644 --- a/common/threads.c +++ b/common/threads.c @@ -498,7 +498,7 @@ void althrd_setname(althrd_t thr, const char *name) { #if defined(HAVE_PTHREAD_SETNAME_NP) #if defined(__APPLE__) - if(althrd_equal(thr, althrd_current()) + if(althrd_equal(thr, althrd_current())) pthread_setname_np(name); #elif defined(__GNUC__) pthread_setname_np(thr, name); |