From ddcf933d0da3299ec8166e6748a1d20e44224c37 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Wed, 20 Nov 2002 00:40:59 +0000 Subject: [PATCH] added log message on overrun --- comedi/drivers/comedi_fc.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.26.2