aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Dickens <michael.dickens@ettus.com>2015-09-02 13:39:02 -0400
committerMichael Dickens <michael.dickens@ettus.com>2015-09-02 13:39:02 -0400
commit01b2a2b5b234e56005a507fe343360dbfd0fc129 (patch)
tree52f2f470e52a97f22f4ff4898078ae7f7e1df2e9
parent8adefb1d80f08a53856fef45b80ed5a07f0a9a26 (diff)
downloaduhd-01b2a2b5b234e56005a507fe343360dbfd0fc129.tar.gz
uhd-01b2a2b5b234e56005a507fe343360dbfd0fc129.tar.bz2
uhd-01b2a2b5b234e56005a507fe343360dbfd0fc129.zip
b200: fix startup bad USB state detection printout to use endl instead of flush to print cleanly.
-rw-r--r--host/lib/usrp/b200/b200_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/b200/b200_impl.cpp b/host/lib/usrp/b200/b200_impl.cpp
index 12baa1c14..19b01caaf 100644
--- a/host/lib/usrp/b200/b200_impl.cpp
+++ b/host/lib/usrp/b200/b200_impl.cpp
@@ -259,7 +259,7 @@ static device::sptr b200_make(const device_addr_t &device_addr)
return device::sptr(new b200_impl(device_addr, handle));
}
catch (const uhd::usb_error &) {
- UHD_MSG(status) << "Detected bad USB state; resetting." << std::flush;
+ UHD_MSG(status) << "Detected bad USB state; resetting." << std::endl;
libusb::device_handle::sptr dev_handle(libusb::device_handle::get_cached_handle(
boost::static_pointer_cast<libusb::special_handle>(handle)->get_device()
));