From e022badc2fd44938c4a2cc373fa933d551827f61 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 8 Jan 2001 21:42:46 +0000 Subject: [PATCH] bugfix --- comedi/comedi_fops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/comedi/comedi_fops.c b/comedi/comedi_fops.c index 2c257d11..5a047e08 100644 --- a/comedi/comedi_fops.c +++ b/comedi/comedi_fops.c @@ -823,6 +823,7 @@ static int do_cmd_ioctl(comedi_device *dev,void *arg,void *file) DPRINTK("no buffer (?)\n"); goto cleanup; } + s->cmd.data = s->prealloc_buf; s->cmd.data_len=s->prealloc_bufsz; #ifdef CONFIG_COMEDI_MODE_CORE -- 2.26.2