compilation fix
authorDavid Schleef <ds@schleef.org>
Tue, 21 Mar 2000 20:08:01 +0000 (20:08 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 21 Mar 2000 20:08:01 +0000 (20:08 +0000)
Makefile
comedi/kcomedilib/kcomedilib_main.c

index 3b34d897fd07ec31d42648f05980acf3959a2bbd..2d68a65e6974b1a7a630a2381b7010f9e9f9f9c0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,8 +9,8 @@ INSTALLDIR=/usr
 
 #LINUXDIR = /usr/src/linux
 #LINUXDIR = /d/ds/cvs/rtl/linux22
-LINUXDIR = /d/ds/cvs/linux22
-#LINUXDIR = /home/ds/cvs/linux23
+#LINUXDIR = /d/ds/cvs/linux22
+LINUXDIR = /home/ds/cvs/linux23
 
 # define the following if you want to compile using RTL
 # headers that aren't in the default location
index 009e2619051c218e366cf6c09006493ee471aaa1..2559f54987f61a5655f021d34d086c780e29da53 100644 (file)
@@ -312,7 +312,7 @@ static int comedi_trig_ioctl_mode0(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
        }