Revision: 580 http://sourceforge.net/p/vde/svn/580 Author: garden Date: 2014-10-12 19:22:54 +0000 (Sun, 12 Oct 2014) Log Message: ----------- Add format string to fprintf calls.
Modified Paths: -------------- trunk/vde-2/src/common/cmdparse.c Modified: trunk/vde-2/src/common/cmdparse.c =================================================================== --- trunk/vde-2/src/common/cmdparse.c 2014-03-08 12:08:39 UTC (rev 579) +++ trunk/vde-2/src/common/cmdparse.c 2014-10-12 19:22:54 UTC (rev 580) @@ -284,13 +284,13 @@ int i; for (i=0;i<argc;i++) { if (i) fprintf(mf," "); - fprintf(mf,argv[i]); + fprintf(mf, "%s", argv[i]); } } else { int num=atoi(t); while (*t >='0' && *t <= '9') t++; if (num < argc) - fprintf(mf,argv[num]); + fprintf(mf, "%s", argv[num]); } } else fprintf(mf,"%c",*t); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://p.sf.net/sfu/Zoho _______________________________________________ vde-users mailing list vde-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vde-users