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:
parent
9956662b3a
commit
99fc51205f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user