From 5f767802906d3635e7e45c4600ebf9bded783b4d Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Wed, 19 Feb 2003 04:21:22 +0000 Subject: [PATCH] added a debug message --- comedi/comedi_fops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/comedi/comedi_fops.c b/comedi/comedi_fops.c index d1baac2f..bd80f7f3 100644 --- a/comedi/comedi_fops.c +++ b/comedi/comedi_fops.c @@ -686,6 +686,7 @@ static int parse_insn(comedi_device *dev,comedi_insn *insn,lsampl_t *data,void * }else{ /* a subdevice instruction */ if(insn->subdev>=dev->n_subdevices){ + DPRINTK("subdevice %d out of range\n",insn->subdev); ret=-EINVAL; goto out; } -- 2.26.2