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 2012/09/20 00:21:22 UTC

svn commit: r1387801 - /incubator/mesos/trunk/src/examples/balloon_executor.cpp

Author: benh
Date: Wed Sep 19 22:21:22 2012
New Revision: 1387801

URL: http://svn.apache.org/viewvc?rev=1387801&view=rev
Log:
Updated a comment and error message.

Modified:
    incubator/mesos/trunk/src/examples/balloon_executor.cpp

Modified: incubator/mesos/trunk/src/examples/balloon_executor.cpp
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/examples/balloon_executor.cpp?rev=1387801&r1=1387800&r2=1387801&view=diff
==============================================================================
--- incubator/mesos/trunk/src/examples/balloon_executor.cpp (original)
+++ incubator/mesos/trunk/src/examples/balloon_executor.cpp Wed Sep 19 22:21:22 2012
@@ -49,10 +49,10 @@ static void balloon(size_t limit)
     std::cout << "Increasing memory footprint by "
               << BALLOON_STEP_MB << " MB" << std::endl;
 
-    // Allocate page aligned virtual memory.
+    // Allocate page-aligned virtual memory.
     char* buffer = NULL;
     if (posix_memalign((void**) &buffer, getpagesize(), chunk) != 0) {
-      perror("Failed to allocate page aligned memory, posix_memalign");
+      perror("Failed to allocate page-aligned memory, posix_memalign");
       abort();
     }