projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
743f916
)
bugfix
author
David Schleef
<ds@schleef.org>
Wed, 17 Jan 2001 22:05:25 +0000
(22:05 +0000)
committer
David Schleef
<ds@schleef.org>
Wed, 17 Jan 2001 22:05:25 +0000
(22:05 +0000)
comedi/drivers.c
patch
|
blob
|
history
diff --git
a/comedi/drivers.c
b/comedi/drivers.c
index f15395c2c211b98b06d149468666b6950c1461eb..c6cc7cc8b405e0c05727de0c0770c8df58d0942c 100644
(file)
--- a/
comedi/drivers.c
+++ b/
comedi/drivers.c
@@
-101,7
+101,7
@@
int comedi_device_attach(comedi_device *dev,comedi_devconfig *it)
use_count = dev->use_count;
memset(dev,0,sizeof(dev));
dev->minor=minor;
- dev->use_count =
dev->
use_count;
+ dev->use_count = use_count;
dev->read_subdev=-1;
dev->write_subdev=-1;