aboutsummaryrefslogtreecommitdiffstats
path: root/lib/osmosdr
diff options
context:
space:
mode:
authorDimitri Stolnikov <horiz0n@gmx.net>2012-08-08 20:42:45 +0200
committerDimitri Stolnikov <horiz0n@gmx.net>2012-08-08 20:42:45 +0200
commitbb2833250cad3ab5ec1a3d4f4f558f2c437e43f4 (patch)
tree5ca75d6f4c9246638798cf1fb45e84b5d6617e4e /lib/osmosdr
parenta43fef00a78112ef3a84fbf5b10e24085fa98fa6 (diff)
osmosdr: print overflow marker to stderr
Diffstat (limited to 'lib/osmosdr')
-rw-r--r--lib/osmosdr/osmosdr_src_c.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/osmosdr/osmosdr_src_c.cc b/lib/osmosdr/osmosdr_src_c.cc
index 1067e82..921d740 100644
--- a/lib/osmosdr/osmosdr_src_c.cc
+++ b/lib/osmosdr/osmosdr_src_c.cc
@@ -189,7 +189,7 @@ void osmosdr_src_c::osmosdr_callback(unsigned char *buf, uint32_t len)
memcpy(_buf[buf_tail], buf, len);
if (_buf_used == _buf_num) {
- printf("O"); fflush(stdout);
+ std::cerr << "O" << std::flush;
_buf_head = (_buf_head + 1) % _buf_num;
} else {
_buf_used++;