aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples/latency_test.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-03-11 16:22:20 -0800
committerJosh Blum <josh@joshknows.com>2011-03-11 16:22:20 -0800
commitcadafd4c3e67203aea80b99bd3839fc84ff7c17f (patch)
tree70a46d4a5f4166205fb2dba330d78cdb7ae213ff /host/examples/latency_test.cpp
parente49f94f4c74c783f822b3e2e5b1844bda11fe85f (diff)
downloaduhd-cadafd4c3e67203aea80b99bd3839fc84ff7c17f.tar.gz
uhd-cadafd4c3e67203aea80b99bd3839fc84ff7c17f.tar.bz2
uhd-cadafd4c3e67203aea80b99bd3839fc84ff7c17f.zip
uhd: cleanup/tweaks on timed samples examples
Diffstat (limited to 'host/examples/latency_test.cpp')
-rw-r--r--host/examples/latency_test.cpp6
1 files changed, 3 insertions, 3 deletions
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;
}