From cadafd4c3e67203aea80b99bd3839fc84ff7c17f Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 11 Mar 2011 16:22:20 -0800 Subject: uhd: cleanup/tweaks on timed samples examples --- host/examples/latency_test.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'host/examples/latency_test.cpp') diff --git a/host/examples/latency_test.cpp b/host/examples/latency_test.cpp index be44aad70..85ac73567 100644 --- a/host/examples/latency_test.cpp +++ b/host/examples/latency_test.cpp @@ -150,9 +150,9 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ break; default: - std::cout << boost::format - ("failed:\n Got unexpected event code 0x%x.\n") - % async_md.event_code << std::endl; + std::cerr << boost::format( + "failed:\n Got unexpected event code 0x%x.\n" + ) % async_md.event_code << std::endl; other++; break; } -- cgit v1.2.3