summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2012-02-24 07:06:51 -0800
committerSage Weil <sage@newdream.net>2012-02-24 11:15:12 -0800
commit64038524262cffc6d3409a8e395d7417bb4b931d (patch)
tree64887874eadaec1e50ef63262a9ec601dd253c7e
parent804f243b2ac2d8aaf5117b5f296a53511cfa0a7a (diff)
downloadceph-64038524262cffc6d3409a8e395d7417bb4b931d.tar.gz
lockdep: warn on stderr (via derr), not stdout
Otherwise we screw up ceph-conf output and the like. Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
-rw-r--r--src/global/global_init.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/global/global_init.cc b/src/global/global_init.cc
index b23ef2b4bd4..49b9c106b95 100644
--- a/src/global/global_init.cc
+++ b/src/global/global_init.cc
@@ -103,8 +103,7 @@ void global_init(std::vector < const char* >& args,
install_standard_sighandlers();
if (g_lockdep) {
- cout << TEXT_YELLOW << "*** lockdep is enabled (" << g_lockdep
- << ") ***" << TEXT_NORMAL << std::endl;
+ derr << "lockdep is enabled" << dendl;
lockdep_register_ceph_context(cct);
}
register_assert_context(cct);