From 7c30f9f75546520ae3a5285db68644e3d38cf640 Mon Sep 17 00:00:00 2001 From: Dwight Merriman Date: Sat, 24 Apr 2010 14:28:55 -0400 Subject: [PATCH] more compile fix --- util/processinfo_darwin.cpp | 2 +- util/processinfo_linux2.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/util/processinfo_darwin.cpp b/util/processinfo_darwin.cpp index 206c27099de..0dfa7281a3d 100644 --- a/util/processinfo_darwin.cpp +++ b/util/processinfo_darwin.cpp @@ -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; diff --git a/util/processinfo_linux2.cpp b/util/processinfo_linux2.cpp index eaaee0917a4..7bb38b13551 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: " << OUTPUT_ERRNO() << endl; return 1; } return x & 0x1;