projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad40297
)
be a little more careful about fixing up calibration file path, although
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sat, 31 May 2003 16:58:45 +0000
(16:58 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sat, 31 May 2003 16:58:45 +0000
(16:58 +0000)
it doesn't make any practical difference
lib/calib.c
patch
|
blob
|
history
diff --git
a/lib/calib.c
b/lib/calib.c
index d5068880018c45ce3ce4a7c81cdae9e33f1ee134..fc39a271068b9ff61a3f15eb468d8bbaccbc07cd 100644
(file)
--- a/
lib/calib.c
+++ b/
lib/calib.c
@@
-165,7
+165,13
@@
int _comedi_apply_parsed_calibration( comedi_t *dev, unsigned int subdev, unsign
static void fixup_board_name( char *name )
{
while( ( name = strchr( name, '/' ) ) )
- if( name ) *name = '-';
+ {
+ if( name )
+ {
+ *name = '-';
+ name++;
+ }
+ }
}
EXPORT_ALIAS_DEFAULT(_comedi_get_default_calibration_path,comedi_get_default_calibration_path,0.7.20);