From: David Schleef Date: Sat, 30 Aug 2003 04:21:50 +0000 (+0000) Subject: localstatedir should be /var, thus we need append a lib/ here X-Git-Tag: r0_7_22~128 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3602f4abab26da45add24c09f994a0dbfdf3b72c;p=comedilib.git localstatedir should be /var, thus we need append a lib/ here --- diff --git a/lib/calib.c b/lib/calib.c index f792159..87fc634 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, 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 );