[dhcp] add missing conversion specifier in log_fatal() call (#957371)
Jiří Popelka
jpopelka at fedoraproject.org
Tue Apr 30 11:32:55 UTC 2013
commit 24a2f1a3124ab6422a257a2c116e8277afc933ea
Author: Jiri Popelka <jpopelka at redhat.com>
Date: Tue Apr 30 13:24:31 2013 +0200
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 <jpopelka at redhat.com> - 12:4.2.5-11
+- add missing conversion specifier in log_fatal() call (#957371)
+
* Tue Apr 16 2013 Adam Tkac <atkac redhat com> - 12:4.2.5-10
- rebuild against new bind
More information about the scm-commits
mailing list