diff options
author | Andrej Rode <andrej.rode@ettus.com> | 2017-02-27 14:23:56 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-03-07 16:16:42 -0800 |
commit | 3645139e7d51d92f4bfe4148eefad2c22b40147a (patch) | |
tree | dbd72ebe0c79e4c16283d380cf5232a69dc2fbe6 /host/lib/usrp/b200 | |
parent | caf3cb87d22c4ba1920b3b5d8a753f7a29b4b6db (diff) | |
download | uhd-3645139e7d51d92f4bfe4148eefad2c22b40147a.tar.gz uhd-3645139e7d51d92f4bfe4148eefad2c22b40147a.tar.bz2 uhd-3645139e7d51d92f4bfe4148eefad2c22b40147a.zip |
uhd: Fix some log statements
Some log statements were incorrectly using multi-line log statements.
Diffstat (limited to 'host/lib/usrp/b200')
-rw-r--r-- | host/lib/usrp/b200/b200_impl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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") ; } /*********************************************************************** |