You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2015/07/07 15:32:41 UTC

[2/2] mesos git commit: Explicitly inform the compiler of a function pointer.

Explicitly inform the compiler of a function pointer.


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

Branch: refs/heads/master
Commit: 35ddcf066c8aef3fac8b2678258152a92b167176
Parents: 5ff52b6
Author: Benjamin Hindman <be...@gmail.com>
Authored: Tue Jul 7 06:29:02 2015 -0700
Committer: Benjamin Hindman <be...@gmail.com>
Committed: Tue Jul 7 06:32:12 2015 -0700

----------------------------------------------------------------------
 3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/35ddcf06/3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp b/3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp
index 4a01d94..d7d4552 100644
--- a/3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp
+++ b/3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp
@@ -537,10 +537,10 @@ void dosetsid(void)
 TEST_F(OsTest, Killtree)
 {
   Try<ProcessTree> tree =
-    Fork(dosetsid,                         // Child.
+    Fork(&dosetsid,                        // Child.
          Fork(None(),                      // Grandchild.
               Fork(None(),                 // Great-grandchild.
-                   Fork(dosetsid,          // Great-great-granchild.
+                   Fork(&dosetsid,         // Great-great-granchild.
                         Exec("sleep 10")),
                    Exec("sleep 10")),
               Exec("exit 0")),
@@ -660,7 +660,7 @@ TEST_F(OsTest, Killtree)
 TEST_F(OsTest, KilltreeNoRoot)
 {
   Try<ProcessTree> tree =
-    Fork(dosetsid,        // Child.
+    Fork(&dosetsid,       // Child.
          Fork(None(),     // Grandchild.
               Fork(None(),
                    Exec("sleep 100")),