diff --git a/dhcp-4.2.5-lpf-ib.patch b/dhcp-4.2.5-lpf-ib.patch index a136c6c..c885331 100644 --- a/dhcp-4.2.5-lpf-ib.patch +++ b/dhcp-4.2.5-lpf-ib.patch @@ -497,7 +497,7 @@ diff -up dhcp-4.2.4-P2/common/lpf.c.lpf-ib dhcp-4.2.4-P2/common/lpf.c - log_fatal("Unsupported device type %ld for \"%s\"", - (long int)sa->sa_family, name); + freeifaddrs(ifaddrs); -+ log_fatal("Unsupported device type %h for \"%s\"", ++ log_fatal("Unsupported device type %hu for \"%s\"", + sll->sll_hatype, name); } diff --git a/dhcp.spec b/dhcp.spec index 15ff0be..b45d020 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -18,7 +18,7 @@ Summary: Dynamic host configuration protocol software Name: dhcp Version: 4.2.5 -Release: 10%{?dist} +Release: 11%{?dist} # NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to # dcantrell maintaining the package) made incorrect use of the epoch and # that's why it is at 12 now. It should have never been used, but it was. @@ -585,6 +585,9 @@ done %changelog +* Tue Apr 30 2013 Jiri Popelka - 12:4.2.5-11 +- add missing conversion specifier in log_fatal() call (#957371) + * Tue Apr 16 2013 Adam Tkac - 12:4.2.5-10 - rebuild against new bind