mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 00:56:44 +01:00
errmsg
This commit is contained in:
parent
cf68b13124
commit
66e654de6a
@ -70,7 +70,7 @@ namespace mongo {
|
||||
void *p = MapViewOfFile(maphandle, FILE_MAP_COPY, /*f ofs hi*/0, /*f ofs lo*/ 0, /*dwNumberOfBytesToMap 0 means to eof*/0);
|
||||
if ( p == 0 ) {
|
||||
DWORD e = GetLastError();
|
||||
log() << "FILE_MAP_COPY MapViewOfFile failed " << filename() << " " << errnoWithDescription(e) << endl;
|
||||
log() << "createPrivateMap failed " << filename() << " " << errnoWithDescription(e) << endl;
|
||||
}
|
||||
else {
|
||||
views.push_back(p);
|
||||
|
Loading…
Reference in New Issue
Block a user