--- src/edittools.c +++ src/edittools.c @@ -1355,7 +1355,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 @@ -937,7 +937,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