--- src/edittools.c +++ src/edittools.c @@ -1368,7 +1368,7 @@ { if (ptr->warn == 'y') { - snprintf(OUTPUT,CF_BUFSIZE,"File %s did not exist and was marked for editing"); + snprintf(OUTPUT,CF_BUFSIZE,"File %s did not exist and was marked for editing",fname); CfLog(cferror,OUTPUT,""); } return false; --- src/functions.c +++ src/functions.c @@ -984,7 +984,7 @@ if (list->next != NULL && list->next->name != NULL) { - Debug("Setting %s[%s] = %s\n",lvalue,list->next->name); + Debug("Setting %s = %s\n",lvalue,list->next->name); InstallControlRValue(lvalue,list->next->name); } else --- src/log.c +++ src/log.c @@ -183,7 +183,7 @@ } else { - snprintf(OUTPUT,CF_BUFSIZE,"Outcome of version %s: Promises observed to be kept %.0f%%, Promises repaired %.0f%%, Promises not repaired %.0f\%\n", + snprintf(OUTPUT,CF_BUFSIZE,"Outcome of version %s: Promises observed to be kept %.0f%%, Promises repaired %.0f%%, Promises not repaired %.0f%%\n", sp, (double)PR_KEPT/total, (double)PR_REPAIRED/total,