Fix typo in if statement.
It turns out that we weren't actually enabling stack traces due
to a typo in one of the if statements. Fix it.
Bug: 135772972
Change-Id: Ic19352280f65acd621b9d88c361c55680b3327f0
diff --git a/libc/bionic/heap_tagging.cpp b/libc/bionic/heap_tagging.cpp
index c3aa823..540372b 100644
--- a/libc/bionic/heap_tagging.cpp
+++ b/libc/bionic/heap_tagging.cpp
@@ -109,7 +109,7 @@
#if defined(USE_SCUDO)
scudo_malloc_set_track_allocation_stacks(0);
#endif
- } else if (tag_level == M_HEAP_TAGGING_LEVEL_ASYNC) {
+ } else if (tag_level == M_HEAP_TAGGING_LEVEL_SYNC) {
#if defined(USE_SCUDO)
scudo_malloc_set_track_allocation_stacks(1);
#endif