[libc++][NFC] Fix typo

This commit is contained in:
Louis Dionne 2022-01-25 15:26:32 -05:00
parent b35ef580d8
commit 7dc705f86d
1 changed files with 2 additions and 2 deletions

View File

@ -197,9 +197,9 @@ public:
: __stream_(nullptr), __root_(root) {
if ((__stream_ = ::opendir(root.c_str())) == nullptr) {
ec = detail::capture_errno();
const bool allow_eacess =
const bool allow_eacces =
bool(opts & directory_options::skip_permission_denied);
if (allow_eacess && ec.value() == EACCES)
if (allow_eacces && ec.value() == EACCES)
ec.clear();
return;
}