From: Frank Mori Hess Date: Wed, 20 Nov 2002 00:40:59 +0000 (+0000) Subject: added log message on overrun X-Git-Tag: r0_7_66~34 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ddcf933d0da3299ec8166e6748a1d20e44224c37;p=comedi.git added log message on overrun --- diff --git a/comedi/drivers/comedi_fc.c b/comedi/drivers/comedi_fc.c index 672dc464..56178119 100644 --- a/comedi/drivers/comedi_fc.c +++ b/comedi/drivers/comedi_fc.c @@ -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; }