added log message on overrun
authorFrank Mori Hess <fmhess@speakeasy.net>
Wed, 20 Nov 2002 00:40:59 +0000 (00:40 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Wed, 20 Nov 2002 00:40:59 +0000 (00:40 +0000)
comedi/drivers/comedi_fc.c

index 672dc4649655e6ceb82b6777c37584393fb0b483..56178119c7805259cfad9c4535603ee01ec34ad0 100644 (file)
@@ -59,6 +59,7 @@ unsigned int cfc_write_array_to_buffer( comedi_subdevice *subd, void *data,
        retval = comedi_buf_write_alloc( async, num_bytes );
        if( retval != num_bytes )
        {
+               rt_printk( "comedi: buffer overrun\n" );
                async->events |= COMEDI_CB_OVERFLOW;
                return 0;
        }