From 24a2f1a3124ab6422a257a2c116e8277afc933ea Mon Sep 17 00:00:00 2001 From: Jiri Popelka Date: Tue, 30 Apr 2013 13:24:31 +0200 Subject: [PATCH] add missing conversion specifier in log_fatal() call (#957371) --- dhcp-4.2.5-lpf-ib.patch | 2 +- dhcp.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) 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