From 3602f4abab26da45add24c09f994a0dbfdf3b72c Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sat, 30 Aug 2003 04:21:50 +0000 Subject: [PATCH] localstatedir should be /var, thus we need append a lib/ here --- lib/calib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.26.2