summaryrefslogtreecommitdiffstats
path: root/host/examples/benchmark_rate.cpp
diff options
context:
space:
mode:
authorBen Hilburn <ben.hilburn@ettus.com>2014-04-10 13:06:52 -0700
committerBen Hilburn <ben.hilburn@ettus.com>2014-04-10 13:06:52 -0700
commitdd07f5b40c822febde400cec817f7e8eddf860f2 (patch)
tree3120ebb0b6b4e76c5dd33e2db3b5def2de410b2d /host/examples/benchmark_rate.cpp
parentd3459ad697b4c38354731eb6e6fc1075b194d5ea (diff)
parent853901782f07b62bf774551c344a65606e545a4f (diff)
downloaduhd-dd07f5b40c822febde400cec817f7e8eddf860f2.tar.gz
uhd-dd07f5b40c822febde400cec817f7e8eddf860f2.tar.bz2
uhd-dd07f5b40c822febde400cec817f7e8eddf860f2.zip
Merge branch 'origin/uhd/issue_294_errcode'
Convert numeric errors to PP strings that are actually useful.
Diffstat (limited to 'host/examples/benchmark_rate.cpp')
-rw-r--r--host/examples/benchmark_rate.cpp2
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;
}