aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples/transport_hammer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/examples/transport_hammer.cpp')
-rw-r--r--host/examples/transport_hammer.cpp2
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;
}