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 2011/06/05 07:37:43 UTC
svn commit: r1131824 - /incubator/mesos/trunk/src/lxc_isolation_module.cpp
Author: benh
Date: Sun Jun 5 05:37:42 2011
New Revision: 1131824
URL: http://svn.apache.org/viewvc?rev=1131824&view=rev
Log:
Replace PLOG with LOG since we didn't need to perror() in these messages
Modified:
incubator/mesos/trunk/src/lxc_isolation_module.cpp
Modified: incubator/mesos/trunk/src/lxc_isolation_module.cpp
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/lxc_isolation_module.cpp?rev=1131824&r1=1131823&r2=1131824&view=diff
==============================================================================
--- incubator/mesos/trunk/src/lxc_isolation_module.cpp (original)
+++ incubator/mesos/trunk/src/lxc_isolation_module.cpp Sun Jun 5 05:37:42 2011
@@ -36,13 +36,13 @@ LxcIsolationModule::LxcIsolationModule(S
// Run a basic check to see whether Linux Container tools are available
if (system("lxc-version > /dev/null") != 0) {
- PLOG(FATAL) << "Could not run lxc-version; make sure Linux Container "
+ LOG(FATAL) << "Could not run lxc-version; make sure Linux Container "
<< "tools are installed";
}
// Check that we are root (technically it might be possible to create
// containers without being root, but we can support that later)
if (getuid() != 0) {
- PLOG(FATAL) << "LXC isolation module requires slave to run as root";
+ LOG(FATAL) << "LXC isolation module requires slave to run as root";
}
}