Merge branch 'osx_10.6_64_fixes' of http://gnuradio.org/git/michaelld
[debian/gnuradio] / usrp / host / lib / fusb_darwin.h
index 63016648bc3373916f334de425556f85d0002cd5..735e5f16d0548540252f9c7248eea1b1ca0cc8b7 100644 (file)
@@ -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);