From: Frank Mori Hess Date: Wed, 19 Feb 2003 04:21:22 +0000 (+0000) Subject: added a debug message X-Git-Tag: r0_7_67x~91 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5f767802906d3635e7e45c4600ebf9bded783b4d;p=comedi.git added a debug message --- 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; }