diff options
author | Martin Braun <martin.braun@ettus.com> | 2014-04-01 14:10:30 +0200 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2014-04-10 21:26:39 +0200 |
commit | 853901782f07b62bf774551c344a65606e545a4f (patch) | |
tree | 8a432c415ba508efe8b76b6298be72b8b8a4872f /host/examples/transport_hammer.cpp | |
parent | 0fcd0282f86de158f25e30f7e14be820e6f3623a (diff) | |
download | uhd-853901782f07b62bf774551c344a65606e545a4f.tar.gz uhd-853901782f07b62bf774551c344a65606e545a4f.tar.bz2 uhd-853901782f07b62bf774551c344a65606e545a4f.zip |
uhd: Added nicer error reporting to rx examples
Diffstat (limited to 'host/examples/transport_hammer.cpp')
-rw-r--r-- | host/examples/transport_hammer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/transport_hammer.cpp b/host/examples/transport_hammer.cpp index 4b949e5bd..3f233b2a5 100644 --- a/host/examples/transport_hammer.cpp +++ b/host/examples/transport_hammer.cpp @@ -88,7 +88,7 @@ void rx_hammer(uhd::usrp::multi_usrp::sptr usrp, const std::string &rx_cpu, uhd: break; default: - std::cerr << "Error code: " << md.error_code << std::endl; + std::cerr << "Receiver error: " << md.strerror() << std::endl; std::cerr << "Unexpected error on recv, continuing..." << std::endl; break; } |