Skip to content

Commit

Permalink
[libc++][NFC] Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ldionne committed Jan 25, 2022
1 parent b35ef58 commit 7dc705f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libcxx/src/filesystem/directory_iterator.cpp
Expand Up @@ -197,9 +197,9 @@ class __dir_stream {
: __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;
}
Expand Down

0 comments on commit 7dc705f

Please sign in to comment.