1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

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

typo fix
This commit is contained in:
Jeff 2019-07-12 09:50:37 -04:00 committed by GitHub
commit 1a145ea515
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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());