From c858502471ccafb3f372a2711c49483858de6148 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 21 Mar 2000 20:08:01 +0000 Subject: [PATCH] compilation fix --- Makefile | 4 ++-- comedi/kcomedilib/kcomedilib_main.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3b34d897..2d68a65e 100644 --- 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 diff --git a/comedi/kcomedilib/kcomedilib_main.c b/comedi/kcomedilib/kcomedilib_main.c index 009e2619..2559f549 100644 --- a/comedi/kcomedilib/kcomedilib_main.c +++ b/comedi/kcomedilib/kcomedilib_main.c @@ -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 } -- 2.26.2