diff --git a/util/processinfo_linux2.cpp b/util/processinfo_linux2.cpp index 7bb38b13551..926fa389e58 100644 --- a/util/processinfo_linux2.cpp +++ b/util/processinfo_linux2.cpp @@ -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;