cfengine/cfengine-2.1.22-printf.diff

12 lines
343 B
Diff
Raw Normal View History

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