projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a9dd8e
)
fixed initialization of insn array in comedi_data_read_delayed(), added unnecessary
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 29 Apr 2002 18:26:46 +0000
(18:26 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 29 Apr 2002 18:26:46 +0000
(18:26 +0000)
init of ilist
lib/data.c
patch
|
blob
|
history
diff --git
a/lib/data.c
b/lib/data.c
index f67914d8bd134e077b7315d3615ed43c3ed3bb22..590c37f1109c30fc4b556f5fd27cc1adcdd71be5 100644
(file)
--- a/
lib/data.c
+++ b/
lib/data.c
@@
-186,7
+186,8
@@
int comedi_data_read_delayed( comedi_t *it, unsigned int subdev, unsigned int ch
s = it->subdevices + subdev;
- memset(&insn,0,sizeof(insn));
+ memset( insn, 0, sizeof(insn) );
+ memset( ilist, 0, sizeof(ilist) );
// setup, no conversions
insn[0].insn = INSN_READ;