projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22b8827
)
localstatedir should be /var, thus we need append a lib/ here
author
David Schleef
<ds@schleef.org>
Sat, 30 Aug 2003 04:21:50 +0000
(
04:21
+0000)
committer
David Schleef
<ds@schleef.org>
Sat, 30 Aug 2003 04:21:50 +0000
(
04:21
+0000)
lib/calib.c
patch
|
blob
|
history
diff --git
a/lib/calib.c
b/lib/calib.c
index f792159d1a48accef0309ce91034758056debaaa..87fc6340484653692c58ecd8f2791a234de0b348 100644
(file)
--- a/
lib/calib.c
+++ b/
lib/calib.c
@@
-201,7
+201,7
@@
char* _comedi_get_default_calibration_path( comedi_t *dev )
board_name = strdup( temp );
fixup_board_name( board_name );
- asprintf( &file_path, LOCALSTATEDIR "/comedi/calibrations/%s_%s_comedi%li",
+ asprintf( &file_path, LOCALSTATEDIR "/
lib/
comedi/calibrations/%s_%s_comedi%li",
driver_name, board_name, ( unsigned long ) minor( file_stats.st_rdev ) );
free( board_name );