compile fix
authorDavid Schleef <ds@schleef.org>
Tue, 4 Apr 2000 04:59:45 +0000 (04:59 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 4 Apr 2000 04:59:45 +0000 (04:59 +0000)
comedi/kcomedilib/kcomedilib_main.c

index 310e88223e8db5af8a2adcc4da94fe06e3ee10e0..04e9bace927a4d5973423ae48c4275c704bbc84e 100644 (file)
@@ -375,7 +375,7 @@ static int comedi_trig_ioctl_modeN(comedi_device *dev,comedi_subdevice *s,comedi
                ret=-EINVAL;
                goto cleanup;
 #else
-               it->data_len=it->n_chan*it->n*sizeof(sample_t);
+               it->data_len=it->n_chan*it->n*sizeof(sampl_t);
                rt_printk("comedi: warning: trig->data_len not set\n");
 #endif
        }