@@ -26,11 +26,11 @@ if (appname == NULL || configfile == NULL) { lc_errno = LC_ERR_INVDATA; return(-1); } - configfp = fopen(configfile, "r"); + configfp = lc_fopen(configfile, "r"); if (configfp == NULL) { lc_errno = LC_ERR_CANTOPEN; return(-1); }