From: Sage Weil Date: Sun, 8 Feb 2015 15:47:23 +0000 (-0800) Subject: crushtool: send --tree to stdout X-Git-Tag: v0.94.7~28^2~13^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a1fc101084c5aefeb64da344158783a186a28a93;p=ceph.git crushtool: send --tree to stdout Signed-off-by: Sage Weil (cherry picked from commit dca345280e4f6124a8b5aea73e6219488111c356) Conflicts: src/tools/crushtool.cc (trivial) --- diff --git a/src/tools/crushtool.cc b/src/tools/crushtool.cc index d576b5ef830..a6107650cef 100644 --- a/src/tools/crushtool.cc +++ b/src/tools/crushtool.cc @@ -570,9 +570,7 @@ int main(int argc, const char **argv) } } if (tree) { - ostringstream oss; - crush.dump_tree(&oss, NULL); - dout(1) << "\n" << oss.str() << dendl; + crush.dump_tree(&cout, NULL); } if (compile) {