[tsan] Fix build.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184963 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/tsan/rtl/tsan_suppressions.cc b/lib/tsan/rtl/tsan_suppressions.cc
index 11047d4..22e07aa 100644
--- a/lib/tsan/rtl/tsan_suppressions.cc
+++ b/lib/tsan/rtl/tsan_suppressions.cc
@@ -126,7 +126,7 @@
if (g_ctx->Match(loc->name, stype, &s) ||
g_ctx->Match(loc->file, stype, &s) ||
g_ctx->Match(loc->module, stype, &s)) {
- DPrintf("ThreadSanitizer: matched suppression '%s'\n", templ);
+ DPrintf("ThreadSanitizer: matched suppression '%s'\n", s->templ);
s->hit_count++;
*sp = s;
return loc->addr;