0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

final darwing fix MINOR

This commit is contained in:
Eliot Horowitz 2010-01-28 15:16:22 -05:00
parent 51a99bbce0
commit a65e789e1a

View File

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