aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-01-21 11:08:17 -0800
committerJosh Blum <josh@joshknows.com>2011-01-21 11:08:17 -0800
commit934824dd551b2544f29497e19360176742557582 (patch)
treeb2bce9807780ebff4e5d20520f3b6a1f9de0e7a9 /host/examples
parentb94d4776cc2656b77262714f21e256caaff1617f (diff)
downloaduhd-934824dd551b2544f29497e19360176742557582.tar.gz
uhd-934824dd551b2544f29497e19360176742557582.tar.bz2
uhd-934824dd551b2544f29497e19360176742557582.zip
uhd: added error code print to benchmark
Diffstat (limited to 'host/examples')
-rw-r--r--host/examples/benchmark_rx_rate.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/examples/benchmark_rx_rate.cpp b/host/examples/benchmark_rx_rate.cpp
index b189368f9..c49d8bff0 100644
--- a/host/examples/benchmark_rx_rate.cpp
+++ b/host/examples/benchmark_rx_rate.cpp
@@ -70,6 +70,7 @@ static inline void test_device(
break;
default:
+ std::cerr << "Error code: " << md.error_code << std::endl;
std::cerr << "Unexpected error on recv, exit test..." << std::endl;
return;
}