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/benchmark_rate.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/benchmark_rate.cpp')
-rw-r--r-- | host/examples/benchmark_rate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/benchmark_rate.cpp b/host/examples/benchmark_rate.cpp index ea49d48d9..9e9aa67e9 100644 --- a/host/examples/benchmark_rate.cpp +++ b/host/examples/benchmark_rate.cpp @@ -98,7 +98,7 @@ void benchmark_rx_rate(uhd::usrp::multi_usrp::sptr usrp, const std::string &rx_c 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; } |