add missing conversion specifier in log_fatal() call (#957371)

This commit is contained in:
Jiri Popelka 2013-04-30 13:24:31 +02:00
parent 06720811c8
commit 24a2f1a312
2 changed files with 5 additions and 2 deletions

View File

@ -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\"", - log_fatal("Unsupported device type %ld for \"%s\"",
- (long int)sa->sa_family, name); - (long int)sa->sa_family, name);
+ freeifaddrs(ifaddrs); + freeifaddrs(ifaddrs);
+ log_fatal("Unsupported device type %h for \"%s\"", + log_fatal("Unsupported device type %hu for \"%s\"",
+ sll->sll_hatype, name); + sll->sll_hatype, name);
} }

View File

@ -18,7 +18,7 @@
Summary: Dynamic host configuration protocol software Summary: Dynamic host configuration protocol software
Name: dhcp Name: dhcp
Version: 4.2.5 Version: 4.2.5
Release: 10%{?dist} Release: 11%{?dist}
# NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to # NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to
# dcantrell maintaining the package) made incorrect use of the epoch and # 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. # that's why it is at 12 now. It should have never been used, but it was.
@ -585,6 +585,9 @@ done
%changelog %changelog
* Tue Apr 30 2013 Jiri Popelka <jpopelka@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 * Tue Apr 16 2013 Adam Tkac <atkac redhat com> - 12:4.2.5-10
- rebuild against new bind - rebuild against new bind