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:
parent
38d1bd875c
commit
7c30f9f755
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user