Corrected calculation of board name offset. Fixes segmentation violation
authorIan Abbott <abbotti@mev.co.uk>
Fri, 7 Sep 2007 17:04:27 +0000 (17:04 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Fri, 7 Sep 2007 17:04:27 +0000 (17:04 +0000)
commit40f926d385334e968e5006f66e44b65dc8245e01
tree433a8fa290f661efbdb129da96b0411beba271e6
parent3a2f9a21c66fc4d5a5f20af911820611a7a67dd7
Corrected calculation of board name offset.  Fixes segmentation violation
when reading /proc/comedi for comedi drivers that have num_names > 1.
comedi/proc.c