[Sanitizers] FutexWake fix typo for FreeBSD code path.
authorDavid Carlier <devnexen@gmail.com>
Sun, 18 Jul 2021 06:02:21 +0000 (07:02 +0100)
committerDavid Carlier <devnexen@gmail.com>
Sun, 18 Jul 2021 06:02:21 +0000 (07:02 +0100)
compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp

index dc503d6..9b7d87e 100644 (file)
@@ -651,7 +651,7 @@ void FutexWait(atomic_uint32_t *p, u32 cmp) {
 
 void FutexWake(atomic_uint32_t *p, u32 count) {
 #    if SANITIZER_FREEBSD
-  _umtx_op(p_, UMTX_OP_WAKE, count, 0, 0);
+  _umtx_op(p, UMTX_OP_WAKE, count, 0, 0);
 #    elif SANITIZER_NETBSD
                    /* No userspace futex-like synchronization */
 #    else