Apply review suggestion

This commit is contained in:
Igor Pissolati
2025-10-23 11:19:35 -03:00
parent 2c82277b5e
commit 3c6c2e2dde

View File

@@ -187,7 +187,7 @@ namespace syscalls
c.emu, fs_information, length, io_status_block, [&](_FILE_FS_ATTRIBUTE_INFORMATION& info) {
info.FileSystemAttributes = 0x40006; // FILE_CASE_PRESERVED_NAMES | FILE_UNICODE_ON_DISK | FILE_NAMED_STREAMS
info.MaximumComponentNameLength = 255;
const auto name = u"NTFS"s;
constexpr auto name = u"NTFS"sv;
info.FileSystemNameLength = static_cast<ULONG>(name.size() * sizeof(char16_t));
memcpy(info.FileSystemName, name.data(), info.FileSystemNameLength);
});