From: Frank Mori Hess Date: Thu, 2 Aug 2001 01:33:45 +0000 (+0000) Subject: making the common 'subdevice does not support commands' debugging message X-Git-Tag: r0_7_61~204 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4fa0c2406c316f6c6e5894fe12493f7dba176a99;p=comedi.git making the common 'subdevice does not support commands' debugging message slightly more informative --- diff --git a/comedi/comedi_fops.c b/comedi/comedi_fops.c index fcef9945..3275a7a7 100644 --- a/comedi/comedi_fops.c +++ b/comedi/comedi_fops.c @@ -834,7 +834,7 @@ static int do_cmd_ioctl(comedi_device *dev,void *arg,void *file) } if(!s->do_cmd || !s->async){ - DPRINTK("subdevice does not support commands\n"); + DPRINTK("subdevice %i does not support commands\n", user_cmd.subdev); return -EIO; } @@ -995,7 +995,7 @@ static int do_cmdtest_ioctl(comedi_device *dev,void *arg,void *file) } if(!s->do_cmd){ - DPRINTK("subdevice does not support commands\n"); + DPRINTK("subdevice %i does not support commands\n", user_cmd.subdev); return -EIO; }