fix: set single entry flag for NtQueryEaFile() in getxattr()

This commit is contained in:
Marcus Holland-Moritz 2024-05-07 14:07:45 +02:00
parent 2b4f168b18
commit dafcc2148a

View File

@ -147,7 +147,7 @@ std::string getxattr(std::filesystem::path const& path, std::string const& name,
ea = reinterpret_cast<PFILE_FULL_EA_INFORMATION>(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) {