diff options
author | Kamil Rytarowski <n54@gmx.com> | 2018-02-10 14:44:12 +0000 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2018-02-10 14:44:12 +0000 |
commit | cc0ab3fcf3c94169afdb905f02597cd9dead30ff (patch) | |
tree | 63f110bb1cb9ca3744d28b2e60cf1e09543dd290 /test/tsan | |
parent | 8d274a02105ee96064e505cdd664e1726ccb7fcc (diff) |
Correct a typo in tsan_pthread_setname_np in the FreeBSD code
Noted by David CARLIER.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@324811 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan')
-rw-r--r-- | test/tsan/thread_name.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tsan/thread_name.cc b/test/tsan/thread_name.cc index 17caa62ef..1fa055579 100644 --- a/test/tsan/thread_name.cc +++ b/test/tsan/thread_name.cc @@ -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)) |