You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ya...@apache.org on 2014/06/06 23:06:41 UTC
git commit: Fixed a typo in setns.hpp
Repository: mesos
Updated Branches:
refs/heads/master f9f4bbd45 -> a121d81f8
Fixed a typo in setns.hpp
Review: https://reviews.apache.org/r/22319
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/a121d81f
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/a121d81f
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/a121d81f
Branch: refs/heads/master
Commit: a121d81f85df663eeebb4df683879959c38a7598
Parents: f9f4bbd
Author: Jiang Yan Xu <ya...@jxu.me>
Authored: Fri Jun 6 13:55:16 2014 -0700
Committer: Jiang Yan Xu <ya...@jxu.me>
Committed: Fri Jun 6 14:06:23 2014 -0700
----------------------------------------------------------------------
3rdparty/libprocess/3rdparty/stout/include/stout/os/setns.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/a121d81f/3rdparty/libprocess/3rdparty/stout/include/stout/os/setns.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/os/setns.hpp b/3rdparty/libprocess/3rdparty/stout/include/stout/os/setns.hpp
index 5ec2602..cf2215a 100644
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/os/setns.hpp
+++ b/3rdparty/libprocess/3rdparty/stout/include/stout/os/setns.hpp
@@ -89,7 +89,7 @@ inline Try<int> nstype(const std::string& ns)
nstypes["user"] = 0x10000000;
#endif
-#ifndef CLONE_NEWPID
+#ifdef CLONE_NEWPID
nstypes["pid"] = CLONE_NEWPID;
#else
nstypes["pid"] = 0x20000000;