add log
This commit is contained in:
parent
ddbf5a1289
commit
8a57a544f7
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue