diff --git a/cfengine-2.2.8-printf.diff b/cfengine-2.2.8-printf.diff index 3534fbe..56382c9 100644 --- a/cfengine-2.2.8-printf.diff +++ b/cfengine-2.2.8-printf.diff @@ -20,3 +20,14 @@ 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, diff --git a/cfengine.changes b/cfengine.changes index 307e34c..fbc727c 100644 --- a/cfengine.changes +++ b/cfengine.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 27 12:30:53 CET 2008 - anicka@suse.cz + +- fix bad printf specifier (bnc#439040) + ------------------------------------------------------------------- Thu Sep 11 17:27:12 CEST 2008 - anicka@suse.cz diff --git a/cfengine.spec b/cfengine.spec index d479383..ee54a65 100644 --- a/cfengine.spec +++ b/cfengine.spec @@ -24,7 +24,7 @@ License: GPL v2 or later Group: Productivity/Networking/System AutoReqProv: on Version: 2.2.8 -Release: 1 +Release: 4 Summary: A Tool to Maintain Complicated Networks Url: http://www.cfengine.org/ Source: %{name}-%{version}.tar.bz2 @@ -110,6 +110,8 @@ rm $RPM_BUILD_ROOT/%{_libdir}/libcfengine.a %attr(0755,root,root) %config /etc/init.d/* %changelog +* Mon Oct 27 2008 anicka@suse.cz +- fix bad printf specifier (bnc#439040) * Thu Sep 11 2008 anicka@suse.cz - update to 2.2.8 * Patch for cfservd serving wrong data when link->copy @@ -243,7 +245,7 @@ rm $RPM_BUILD_ROOT/%{_libdir}/libcfengine.a - fixed Anomalies.texinfo (dir entry) * Tue Sep 17 2002 ro@suse.de - removed bogus self-provides -* Thu Aug 01 2002 postadal@suse.cz +* Wed Jul 31 2002 postadal@suse.cz - update to version 2.0.3 * Hpux config changes * new options @@ -265,7 +267,7 @@ rm $RPM_BUILD_ROOT/%{_libdir}/libcfengine.a * Mon May 15 2000 cihlar@suse.cz - Group sorted - %%{_defaultdocdir} instead of /usr/doc/packages -* Tue Apr 11 2000 bk@suse.de +* Mon Apr 10 2000 bk@suse.de - added suse update config macro * Tue Apr 04 2000 cihlar@suse.cz - upgrade to version 1.5.4