projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e99079
)
making the common 'subdevice does not support commands' debugging message
author
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 2 Aug 2001 01:33:45 +0000
(
01:33
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 2 Aug 2001 01:33:45 +0000
(
01:33
+0000)
slightly more informative
comedi/comedi_fops.c
patch
|
blob
|
history
diff --git
a/comedi/comedi_fops.c
b/comedi/comedi_fops.c
index fcef9945a7f6d5d699c9572e5fa9424dfaa91d83..3275a7a7d4755036916a09898761e168f635fa2d 100644
(file)
--- 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;
}