Revision: 6491 http://ipcop.svn.sourceforge.net/ipcop/?rev=6491&view=rev Author: gespinasse Date: 2012-03-18 12:35:39 +0000 (Sun, 18 Mar 2012) Log Message: ----------- Fix 2 warnings seen on a build testing format-security by default for gcc
Modified Paths: -------------- ipcop/trunk/src/misc-progs/accountingctrl.c ipcop/trunk/src/misc-progs/ipcopreboot.c ipcop/trunk/updates/2.1.0/ROOTFILES.i486-2.1.0 Modified: ipcop/trunk/src/misc-progs/accountingctrl.c =================================================================== --- ipcop/trunk/src/misc-progs/accountingctrl.c 2012-03-18 11:14:38 UTC (rev 6490) +++ ipcop/trunk/src/misc-progs/accountingctrl.c 2012-03-18 12:35:39 UTC (rev 6491) @@ -90,7 +90,7 @@ if (access(command, 0) == -1) { snprintf(message, STRING_SIZE, "Create vnstat DB for %s nick %s", iface, dev_id); verbose_printf(1, "%s\n", message); - syslog(LOG_NOTICE, message); + syslog(LOG_NOTICE, "%s", message); /* Silence error messages, error messages will appear when a DB is created */ snprintf(command, STRING_SIZE_LARGE, "/usr/bin/vnstat --update --iface %s --nick %s > /dev/null", iface, dev_id); Modified: ipcop/trunk/src/misc-progs/ipcopreboot.c =================================================================== --- ipcop/trunk/src/misc-progs/ipcopreboot.c 2012-03-18 11:14:38 UTC (rev 6490) +++ ipcop/trunk/src/misc-progs/ipcopreboot.c 2012-03-18 12:35:39 UTC (rev 6491) @@ -101,7 +101,7 @@ openlog("ipcopreboot", LOG_PID, LOG_USER); if (message[0]) { - syslog(LOG_NOTICE, message); + syslog(LOG_NOTICE, "%s", message); } if (flag_down) { syslog(LOG_NOTICE, "IPCop will shutdown and halt/power off"); Modified: ipcop/trunk/updates/2.1.0/ROOTFILES.i486-2.1.0 =================================================================== --- ipcop/trunk/updates/2.1.0/ROOTFILES.i486-2.1.0 2012-03-18 11:14:38 UTC (rev 6490) +++ ipcop/trunk/updates/2.1.0/ROOTFILES.i486-2.1.0 2012-03-18 12:35:39 UTC (rev 6491) @@ -19,7 +19,9 @@ /usr/lib/ipcop/library.sh /usr/lib/ipcop/scheduler-lib.pl /usr/lib/ipcop/vpn-functions.pl +/usr/local/bin/accountingctrl /usr/local/bin/blacklistupdate.pl +/usr/local/bin/ipcopreboot /usr/local/bin/ipsecctrl /usr/local/bin/puzzleFwRules.pl /usr/local/bin/restartsquid This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn