Repository: mesos
Updated Branches:
  refs/heads/master 1748a6f11 -> 958dff7d7


Print errno in process:childMain().


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/958dff7d
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/958dff7d
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/958dff7d

Branch: refs/heads/master
Commit: 958dff7d7a52977129cb87c003277b6290dff9eb
Parents: 1748a6f
Author: Vinod Kone <[email protected]>
Authored: Fri Mar 13 11:46:47 2015 -0700
Committer: Vinod Kone <[email protected]>
Committed: Fri Mar 13 11:47:58 2015 -0700

----------------------------------------------------------------------
 3rdparty/libprocess/src/subprocess.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/958dff7d/3rdparty/libprocess/src/subprocess.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/subprocess.cpp 
b/3rdparty/libprocess/src/subprocess.cpp
index 859a4f7..ab8a343 100644
--- a/3rdparty/libprocess/src/subprocess.cpp
+++ b/3rdparty/libprocess/src/subprocess.cpp
@@ -162,7 +162,7 @@ static int childMain(
 
   os::execvpe(path.c_str(), argv, (*envp)());
 
-  ABORT("Failed to os::execvpe in childMain\n");
+  ABORT(string("Failed to os::execvpe in childMain: ") + strerror(errno));
 }
 
 

Reply via email to