linux compile

This commit is contained in:
Eliot Horowitz
2010-04-24 21:58:05 -04:00
parent 98f7edd4cd
commit 980efef0f1

View File

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