linux compile
This commit is contained in:
@@ -226,7 +226,7 @@ namespace mongo {
|
||||
start = start - ( (unsigned long long)start % pageSize );
|
||||
unsigned char x = 0;
|
||||
if ( mincore( start , 128 , &x ) ){
|
||||
log() << "mincore failed: " << OUTPUT_ERRNO() << endl;
|
||||
log() << "mincore failed: " << errnoWithDescription() << endl;
|
||||
return 1;
|
||||
}
|
||||
return x & 0x1;
|
||||
|
||||
Reference in New Issue
Block a user