diff options
Diffstat (limited to 'include/llfio/v2.0/detail/impl/posix/path_handle.ipp')
-rw-r--r-- | include/llfio/v2.0/detail/impl/posix/path_handle.ipp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llfio/v2.0/detail/impl/posix/path_handle.ipp b/include/llfio/v2.0/detail/impl/posix/path_handle.ipp index c349cca1..47b242f5 100644 --- a/include/llfio/v2.0/detail/impl/posix/path_handle.ipp +++ b/include/llfio/v2.0/detail/impl/posix/path_handle.ipp @@ -56,7 +56,7 @@ result<path_handle> path_handle::path(const path_handle &base, path_handle::path result<path_handle> ret(in_place_type<path_handle>); native_handle_type &nativeh = ret.value()._v; LLFIO_LOG_FUNCTION_CALL(&ret); - nativeh.behaviour |= native_handle_type::disposition::directory; + nativeh.behaviour |= native_handle_type::disposition::path; nativeh.behaviour &= ~native_handle_type::disposition::seekable; // not seekable int attribs = O_CLOEXEC | O_RDONLY; #ifdef O_DIRECTORY |