From 98f7edd4cd06e63934700c9a79d1726e9db68a34 Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Sat, 24 Apr 2010 21:42:37 -0400 Subject: compile --- shell/utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shell') diff --git a/shell/utils.cpp b/shell/utils.cpp index 31e69e48efe..ab572b0f5f4 100644 --- a/shell/utils.cpp +++ b/shell/utils.cpp @@ -379,13 +379,13 @@ namespace mongo { if ( dup2( child_stdout, STDOUT_FILENO ) == -1 || dup2( child_stdout, STDERR_FILENO ) == -1 ) { - cout << "Unable to dup2 child output: " << OUTPUT_ERRNO() << endl; + cout << "Unable to dup2 child output: " << errnoWithDescription() << endl; ::_Exit(-1); //do not pass go, do not call atexit handlers } execvp( argv[ 0 ], const_cast(argv) ); - cout << "Unable to start program: " << OUTPUT_ERRNO() << endl; + cout << "Unable to start program: " << errnoWithDescription() << endl; ::_Exit(-1); } -- cgit v1.2.1