0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00
This commit is contained in:
Dwight 2011-01-06 14:54:47 -05:00
parent cf68b13124
commit 66e654de6a

View File

@ -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);