Merge Michael Dicken's USB fixes after rebasing on maint
[debian/gnuradio] / gr-comedi / src / comedi_sink_s.cc
index 68514a54bfb26fa494adf5ed72d3cc8f6d106c03..d4a668758804a7bd89310ed3b2b943dc0a87e673 100644 (file)
@@ -1,12 +1,12 @@
 /* -*- c++ -*- */
 /*
- * Copyright 2005 Free Software Foundation, Inc.
+ * Copyright 2005,2010 Free Software Foundation, Inc.
  * 
  * This file is part of GNU Radio
  * 
  * GNU Radio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
+ * the Free Software Foundation; either version 3, or (at your option)
  * any later version.
  * 
  * GNU Radio is distributed in the hope that it will be useful,
@@ -52,7 +52,7 @@ default_device_name ()
 comedi_sink_s_sptr
 comedi_make_sink_s (int sampling_freq, const std::string dev)
 {
-  return comedi_sink_s_sptr (new comedi_sink_s (sampling_freq, dev));
+  return gnuradio::get_initial_sptr(new comedi_sink_s (sampling_freq, dev));
 }
 
 comedi_sink_s::comedi_sink_s (int sampling_freq,