aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorMichael Dickens <michael.dickens@ettus.com>2015-09-02 13:39:02 -0400
committerMartin Braun <martin.braun@ettus.com>2015-09-08 09:24:14 -0700
commita12a94d0fd4290d3c1f5ed144e3d125fb4fdebfa (patch)
treef3ab36352b774e26df1a145abb9c49ec4dbf2a66 /host
parent6bcb98f16d4273624956844e23064db7c1f89d5c (diff)
downloaduhd-a12a94d0fd4290d3c1f5ed144e3d125fb4fdebfa.tar.gz
uhd-a12a94d0fd4290d3c1f5ed144e3d125fb4fdebfa.tar.bz2
uhd-a12a94d0fd4290d3c1f5ed144e3d125fb4fdebfa.zip
b200: fix startup bad USB state detection printout to use endl instead of flush to print cleanly.
Diffstat (limited to 'host')
-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()
));