mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-12 13:59:46 -04:00
fix: set single entry flag for NtQueryEaFile() in getxattr()
This commit is contained in:
parent
2b4f168b18
commit
dafcc2148a
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user