Skip to content

Commit

Permalink
[NFC][sanitizer] Fix at_scope_exit name.
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybuka committed Oct 10, 2024
1 parent 69c0067 commit 1954869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1954869

Please sign in to comment.