summaryrefslogtreecommitdiff
path: root/usrp/host/lib/fusb_darwin.h
diff options
context:
space:
mode:
authorMichael2009-10-19 10:21:33 -0400
committerMichael2009-10-19 10:21:33 -0400
commit5d311c58cb66a5132bc5978ef7ccf109ea58f66e (patch)
tree2ba513f24e44252582ff00c1488e3a97e8f933ea /usrp/host/lib/fusb_darwin.h
parentcd033953971e377722056e7f8042010e658d8aa2 (diff)
downloadgnuradio-5d311c58cb66a5132bc5978ef7ccf109ea58f66e.tar.gz
gnuradio-5d311c58cb66a5132bc5978ef7ccf109ea58f66e.tar.bz2
gnuradio-5d311c58cb66a5132bc5978ef7ccf109ea58f66e.zip
moved all 'fprintf (stderr, ...)' calls to std::cerr, for 'universal' OSX printing of long and pointer types
Diffstat (limited to 'usrp/host/lib/fusb_darwin.h')
-rw-r--r--usrp/host/lib/fusb_darwin.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usrp/host/lib/fusb_darwin.h b/usrp/host/lib/fusb_darwin.h
index 63016648b..735e5f16d 100644
--- a/usrp/host/lib/fusb_darwin.h
+++ b/usrp/host/lib/fusb_darwin.h
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2006 Free Software Foundation, Inc.
+ * Copyright 2006,2009 Free Software Foundation, Inc.
*
* This file is part of GNU Radio.
*
@@ -98,11 +98,11 @@ public:
inline size_t n_alloc () { return (d_n_alloc); };
void buffer (char* l_buffer, size_t bufLen) {
if (bufLen > d_n_alloc) {
- fprintf (stderr, "s_buffer::set: Copying only allocated bytes.\n");
+ std::cerr << "s_buffer::set: Copying only allocated bytes." << std::endl;
bufLen = d_n_alloc;
}
if (!l_buffer) {
- fprintf (stderr, "s_buffer::set: NULL buffer.\n");
+ std::cerr << "s_buffer::set: NULL buffer." << std::endl;
return;
}
bcopy (l_buffer, d_buffer, bufLen);