0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

fix mmap error reporting

This commit is contained in:
Eliot Horowitz 2011-01-25 15:24:18 -05:00
parent 9956662b3a
commit 99fc51205f

View File

@ -127,11 +127,13 @@ namespace mongo {
error() << "mmap private failed with out of memory. (64 bit build)" << endl;
}
}
else {
error() << "mmap private failed " << errnoWithDescription() << endl;
}
return 0;
}
else {
views.push_back(x);
}
views.push_back(x);
return x;
}