From 3645139e7d51d92f4bfe4148eefad2c22b40147a Mon Sep 17 00:00:00 2001 From: Andrej Rode Date: Mon, 27 Feb 2017 14:23:56 -0800 Subject: uhd: Fix some log statements Some log statements were incorrectly using multi-line log statements. --- host/lib/usrp/b200/b200_impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/usrp/b200') diff --git a/host/lib/usrp/b200/b200_impl.cpp b/host/lib/usrp/b200/b200_impl.cpp index 4a96b514b..570994496 100644 --- a/host/lib/usrp/b200/b200_impl.cpp +++ b/host/lib/usrp/b200/b200_impl.cpp @@ -886,7 +886,7 @@ void b200_impl::setup_radio(const size_t dspno) void b200_impl::register_loopback_self_test(wb_iface::sptr iface) { bool test_fail = false; - UHD_LOGGER_INFO("B200") << "Performing register loopback test... " << std::flush; + UHD_LOGGER_INFO("B200") << "Performing register loopback test... "; size_t hash = size_t(time(NULL)); for (size_t i = 0; i < 100; i++) { @@ -895,7 +895,7 @@ void b200_impl::register_loopback_self_test(wb_iface::sptr iface) test_fail = iface->peek32(RB32_TEST) != uint32_t(hash); if (test_fail) break; //exit loop on any failure } - UHD_LOGGER_INFO("B200") << ((test_fail)? "fail" : "pass") ; + UHD_LOGGER_INFO("B200") << "Register loopback test " << ((test_fail)? "failed" : "passed") ; } /*********************************************************************** -- cgit v1.2.3