From 195486950fa64938e62f6d85d31222fa41d0ee09 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Thu, 10 Oct 2024 13:25:46 -0700 Subject: [PATCH] [NFC][sanitizer] Fix at_scope_exit name. --- compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp b/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp index 70fd9405e5454f..e5d6d0a6e71649 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp +++ b/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp @@ -1037,7 +1037,7 @@ ThreadLister::Result ThreadLister::ListThreads( Report("Can't open %s for reading.\n", task_path_.data()); return Error; } - auto acts_cleanup = at_scope_exit([&] { internal_close(descriptor); }); + auto cleanup = at_scope_exit([&] { internal_close(descriptor); }); threads->clear(); Result result = Ok;