print mapping error message
This commit is contained in:
parent
1780bd097a
commit
7a54552bd2
@ -43,7 +43,7 @@ struct File2RWMapped : public File2I {
|
|||||||
_file_map.map(native_file_path.u8string(), 0, _file_size, err);
|
_file_map.map(native_file_path.u8string(), 0, _file_size, err);
|
||||||
|
|
||||||
if (err) {
|
if (err) {
|
||||||
std::cerr << "FileRWMapped error: mapping file failed " << err << "\n";
|
std::cerr << "FileRWMapped error: mapping file failed: " << err.message() << " (" << err << ")\n";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user