From: David Schleef Date: Sat, 16 Aug 2003 00:18:46 +0000 (+0000) Subject: calibrations is installed in $localstatedir X-Git-Tag: r0_7_21~14 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0a70a2f231551d05c0930e06f4253d86b5a58b2a;p=comedilib.git calibrations is installed in $localstatedir --- diff --git a/lib/calib.c b/lib/calib.c index fc39a27..f792159 100644 --- 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 );