projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd7cab9
)
calibrations is installed in $localstatedir
author
David Schleef
<ds@schleef.org>
Sat, 16 Aug 2003 00:18:46 +0000
(
00:18
+0000)
committer
David Schleef
<ds@schleef.org>
Sat, 16 Aug 2003 00:18:46 +0000
(
00:18
+0000)
lib/calib.c
patch
|
blob
|
history
diff --git
a/lib/calib.c
b/lib/calib.c
index fc39a271068b9ff61a3f15eb468d8bbaccbc07cd..f792159d1a48accef0309ce91034758056debaaa 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,
"/etc
/comedi/calibrations/%s_%s_comedi%li",
+ asprintf( &file_path,
LOCALSTATEDIR "
/comedi/calibrations/%s_%s_comedi%li",
driver_name, board_name, ( unsigned long ) minor( file_stats.st_rdev ) );
free( board_name );