Merge pull request #697 from majestrate/fix-freebsd-pthread

typo fix
pull/704/head
Jeff 5 years ago committed by GitHub
commit 1a145ea515
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -19,7 +19,7 @@ namespace llarp
#ifdef POSIX
#if defined(__FreeBSD__)
/* on free bsd this function has void return type */
pthread_set_name_np(pthread_self(), name.c_str();
pthread_set_name_np(pthread_self(), name.c_str());
#else
#if defined(__MACH__)
const int rc = pthread_setname_np(name.c_str());

Loading…
Cancel
Save