Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

Commit

Permalink
Correct a typo in tsan_pthread_setname_np in the FreeBSD code
Browse files Browse the repository at this point in the history
Noted by David CARLIER.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@324811 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
krytarowski committed Feb 10, 2018
1 parent 8d274a0 commit cc0ab3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tsan/thread_name.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit cc0ab3f

Please sign in to comment.