You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2016/03/30 01:30:37 UTC

mesos git commit: Fixed a variable name in cgroups devices library.

Repository: mesos
Updated Branches:
  refs/heads/master 9174faf37 -> e79e690cc


Fixed a variable name in cgroups devices library.


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

Branch: refs/heads/master
Commit: e79e690cc922ac407a46d6b4f914bf5709640fa1
Parents: 9174faf
Author: Benjamin Mahler <bm...@apache.org>
Authored: Tue Mar 29 16:30:18 2016 -0700
Committer: Benjamin Mahler <bm...@apache.org>
Committed: Tue Mar 29 16:30:18 2016 -0700

----------------------------------------------------------------------
 src/linux/cgroups.cpp | 4 ++--
 src/linux/cgroups.hpp | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/e79e690c/src/linux/cgroups.cpp
----------------------------------------------------------------------
diff --git a/src/linux/cgroups.cpp b/src/linux/cgroups.cpp
index fd3df55..b7420c6 100644
--- a/src/linux/cgroups.cpp
+++ b/src/linux/cgroups.cpp
@@ -2472,9 +2472,9 @@ ostream& operator<<(ostream& stream, const Entry::Access& access)
 }
 
 
-ostream& operator<<(ostream& stream, const Entry& ListEntry)
+ostream& operator<<(ostream& stream, const Entry& entry)
 {
-  return stream << ListEntry.selector << " " << ListEntry.access;
+  return stream << entry.selector << " " << entry.access;
 }
 
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/e79e690c/src/linux/cgroups.hpp
----------------------------------------------------------------------
diff --git a/src/linux/cgroups.hpp b/src/linux/cgroups.hpp
index c040962..53397fc 100644
--- a/src/linux/cgroups.hpp
+++ b/src/linux/cgroups.hpp
@@ -665,7 +665,7 @@ std::ostream& operator<<(
 
 std::ostream& operator<<(
     std::ostream& stream,
-    const Entry& ListEntry);
+    const Entry& entry);
 
 
 bool operator==(