projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e799ff
)
fix data_len bug
author
David Schleef
<ds@schleef.org>
Tue, 14 Mar 2000 01:17:20 +0000
(
01:17
+0000)
committer
David Schleef
<ds@schleef.org>
Tue, 14 Mar 2000 01:17:20 +0000
(
01:17
+0000)
comedi/kcomedilib/kcomedilib_main.c
patch
|
blob
|
history
diff --git
a/comedi/kcomedilib/kcomedilib_main.c
b/comedi/kcomedilib/kcomedilib_main.c
index 334acc19c920b912f24c5ad029885eb37eab2210..009e2619051c218e366cf6c09006493ee471aaa1 100644
(file)
--- a/
comedi/kcomedilib/kcomedilib_main.c
+++ b/
comedi/kcomedilib/kcomedilib_main.c
@@
-312,7
+312,7
@@
static int comedi_trig_ioctl_mode0(comedi_device *dev,comedi_subdevice *s,comedi
ret=-EINVAL;
goto cleanup;
#else
- it->data_len=it->n_chan*it->n;
+ it->data_len=it->n_chan*it->n
*sizeof(sample_t)
;
rt_printk("comedi: warning: trig->data_len not set\n");
#endif
}