diff options
| author | Josh Blum <josh@joshknows.com> | 2011-01-21 11:08:17 -0800 |
|---|---|---|
| committer | Josh Blum <josh@joshknows.com> | 2011-01-21 11:08:17 -0800 |
| commit | 934824dd551b2544f29497e19360176742557582 (patch) | |
| tree | b2bce9807780ebff4e5d20520f3b6a1f9de0e7a9 | |
| parent | b94d4776cc2656b77262714f21e256caaff1617f (diff) | |
| download | uhd-934824dd551b2544f29497e19360176742557582.tar.gz uhd-934824dd551b2544f29497e19360176742557582.tar.bz2 uhd-934824dd551b2544f29497e19360176742557582.zip | |
uhd: added error code print to benchmark
| -rw-r--r-- | host/examples/benchmark_rx_rate.cpp | 1 |
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; } |
