Fix build (broken at f800c20958)

This commit is contained in:
Alberto Lerner
2010-08-10 13:56:55 -04:00
parent e095921c9f
commit 64210308ba

View File

@@ -549,7 +549,7 @@ namespace mongo {
env[1] = NULL;
#endif // HEAP_CHECKING
execvpe( argv[ 0 ], const_cast<char**>(argv), const_cast<char**>(env) );
execve( argv[ 0 ], const_cast<char**>(argv), const_cast<char**>(env) );
cout << "Unable to start program " << argv[0] << ' ' << errnoWithDescription() << endl;
::_Exit(-1);