You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by mp...@apache.org on 2017/07/20 18:43:24 UTC

mesos git commit: Windows: Fixed `CreateProcess` error message.

Repository: mesos
Updated Branches:
  refs/heads/master 818aa53ac -> cce7f5f6e


Windows: Fixed `CreateProcess` error message.

The buffer conversion of the argument string was being printed instead
of the argument string itself, leading to an error message with a bunch
of bytes.

Review: https://reviews.apache.org/r/61001/


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

Branch: refs/heads/master
Commit: cce7f5f6e8bea0972dab003cd84959d044350f5f
Parents: 818aa53
Author: Andrew Schwartzmeyer <an...@schwartzmeyer.com>
Authored: Thu Jul 20 11:35:07 2017 -0700
Committer: Michael Park <mp...@apache.org>
Committed: Thu Jul 20 11:35:07 2017 -0700

----------------------------------------------------------------------
 3rdparty/stout/include/stout/os/windows/shell.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/cce7f5f6/3rdparty/stout/include/stout/os/windows/shell.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/stout/include/stout/os/windows/shell.hpp b/3rdparty/stout/include/stout/os/windows/shell.hpp
index 0d8d45b..c1dae0c 100644
--- a/3rdparty/stout/include/stout/os/windows/shell.hpp
+++ b/3rdparty/stout/include/stout/os/windows/shell.hpp
@@ -294,7 +294,7 @@ inline Try<ProcessData> create_process(
 
   if (!create_process_result) {
     return WindowsError(
-        "Failed to call `CreateProcess`: " + stringify(arg_buffer));
+        "Failed to call `CreateProcess`: " + stringify(arg_string));
   }
 
   return ProcessData{