summaryrefslogtreecommitdiffstats
path: root/host/lib/device.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-05-04 19:13:33 -0700
committerJosh Blum <josh@joshknows.com>2011-05-04 19:13:33 -0700
commit805da3ef3d5b04dfa39587c531a3415b09d2ea5b (patch)
tree7fe255935e776a1084a2b20056347fbd3b87f3dc /host/lib/device.cpp
parent7f01386f63850d9e13afb4033d1fae39f6a03764 (diff)
downloaduhd-805da3ef3d5b04dfa39587c531a3415b09d2ea5b.tar.gz
uhd-805da3ef3d5b04dfa39587c531a3415b09d2ea5b.tar.bz2
uhd-805da3ef3d5b04dfa39587c531a3415b09d2ea5b.zip
usrp-e100: removed stdio prints from implementation
Diffstat (limited to 'host/lib/device.cpp')
-rw-r--r--host/lib/device.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/device.cpp b/host/lib/device.cpp
index b2b0238d2..84b4d5452 100644
--- a/host/lib/device.cpp
+++ b/host/lib/device.cpp
@@ -18,6 +18,7 @@
#include <uhd/device.hpp>
#include <uhd/types/dict.hpp>
#include <uhd/exception.hpp>
+#include <uhd/utils/msg.hpp>
#include <uhd/utils/static.hpp>
#include <uhd/utils/algorithm.hpp>
#include <boost/foreach.hpp>
@@ -26,7 +27,6 @@
#include <boost/functional/hash.hpp>
#include <boost/tuple/tuple.hpp>
#include <boost/thread/mutex.hpp>
-#include <iostream>
using namespace uhd;
@@ -87,7 +87,7 @@ device_addrs_t device::find(const device_addr_t &hint){
);
}
catch(const std::exception &e){
- std::cerr << "Device discovery error: " << e.what() << std::endl;
+ UHD_MSG(error) << "Device discovery error: " << e.what() << std::endl;
}
}