]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crushtool: print error message to stderr not dout(1)
authorKefu Chai <kchai@redhat.com>
Wed, 11 Oct 2017 09:45:19 +0000 (17:45 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 11 Oct 2017 09:45:22 +0000 (17:45 +0800)
commitdc78d40af77ff8d5e4f3d39497e6e3c98c309306
tree5fdf7e20a6ffe0ea7b1ff729e76a78925458b13e
parent95072822e1db0eb22e8be079dfe6e22d46d26211
crushtool: print error message to stderr not dout(1)

in hope to fix the mysterious test failure where cli/crushtool/build.t
prints nothing when error message is expected.

Fixes: http://tracker.ceph.com/issues/21758
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/cli/crushtool/build.t
src/tools/crushtool.cc