This commit is contained in:
admin 2024-01-17 17:35:00 +08:00
parent ddbf5a1289
commit 8a57a544f7
1 changed files with 1 additions and 0 deletions

View File

@ -155,6 +155,7 @@ static std::shared_ptr<char> getSharedMmap(const string &file_path, int64_t &fil
if (addr_ == nullptr) { if (addr_ == nullptr) {
mmap_close(hfile, hmapping, addr_); mmap_close(hfile, hmapping, addr_);
WarnL << "MapViewOfFile() " << file_path << " failed:";
return nullptr; return nullptr;
} }