0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-29 16:47:28 +01:00

more compile fix

This commit is contained in:
Dwight Merriman 2010-04-24 14:28:55 -04:00
parent 38d1bd875c
commit 7c30f9f755
2 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ namespace mongo {
start = start - ( (unsigned long long)start % pageSize );
char x = 0;
if ( mincore( start , 128 , &x ) ){
log() << "mincore failed: " << OUTPUT_ERRNO << endl;
log() << "mincore failed: " << OUTPUT_ERRNO() << endl;
return 1;
}
return x & 0x1;

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: " << OUTPUT_ERRNO() << endl;
return 1;
}
return x & 0x1;