Correct a typo in tsan_pthread_setname_np in the FreeBSD code

Noted by David CARLIER.

llvm-svn: 324811
This commit is contained in:
Kamil Rytarowski 2018-02-10 14:44:12 +00:00
parent 9ce6bdf530
commit b3ca0d127d
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
#elif defined(__FreeBSD__)
#include <pthread_np.h>
#define USE_PTHREAD_SETNAME_NP 1
#define tasn_pthread_setname_np pthread_set_name_np
#define tsan_pthread_setname_np pthread_set_name_np
#elif defined(__NetBSD__)
#define USE_PTHREAD_SETNAME_NP 1
#define tsan_pthread_setname_np(a, b) pthread_setname_np((a), "%s", (void *)(b))