diff --git a/src/dwarfs/xattr_win.cpp b/src/dwarfs/xattr_win.cpp index 2f2926dc..8fcccb99 100644 --- a/src/dwarfs/xattr_win.cpp +++ b/src/dwarfs/xattr_win.cpp @@ -147,7 +147,7 @@ std::string getxattr(std::filesystem::path const& path, std::string const& name, ea = reinterpret_cast(ea_buf.data()); - auto res = ::NtQueryEaFile(fh, &iosb, ea, ea_buf.size(), FALSE, getea, + auto res = ::NtQueryEaFile(fh, &iosb, ea, ea_buf.size(), TRUE, getea, getea_len, nullptr, FALSE); if (res != STATUS_SUCCESS) {