From 0a70a2f231551d05c0930e06f4253d86b5a58b2a Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sat, 16 Aug 2003 00:18:46 +0000 Subject: [PATCH] calibrations is installed in $localstatedir --- lib/calib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.26.2