- Add missing newline to usage() screen in dhclient

This commit is contained in:
David Cantrell 2008-02-14 02:38:19 +00:00
parent 3aac9e5df0
commit 2862d8a39f
2 changed files with 8 additions and 5 deletions

View File

@ -1,7 +1,7 @@
diff -up dhcp-4.0.0/client/dhclient.c.usage dhcp-4.0.0/client/dhclient.c
--- dhcp-4.0.0/client/dhclient.c.usage 2007-12-31 18:05:29.000000000 -1000
+++ dhcp-4.0.0/client/dhclient.c 2007-12-31 18:05:43.000000000 -1000
@@ -893,21 +893,30 @@ main(int argc, char **argv) {
--- dhcp-4.0.0/client/dhclient.c.usage 2008-02-13 16:20:30.000000000 -1000
+++ dhcp-4.0.0/client/dhclient.c 2008-02-13 16:21:05.000000000 -1000
@@ -882,21 +882,30 @@ main(int argc, char **argv) {
static void usage ()
{
@ -9,7 +9,7 @@ diff -up dhcp-4.0.0/client/dhclient.c.usage dhcp-4.0.0/client/dhclient.c
- log_info (copyright);
- log_info (arr);
- log_info (url);
+ printf ("%s %s", message, PACKAGE_VERSION);
+ printf ("%s %s\n", message, PACKAGE_VERSION);
+ printf (copyright);
+ printf ("\n");
+ printf (arr);

View File

@ -4,7 +4,7 @@
Summary: DHCP (Dynamic Host Configuration Protocol) server and relay agent
Name: dhcp
Version: 4.0.0
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.
@ -401,6 +401,9 @@ fi
%{_libdir}/libdhcp4client.so
%changelog
* Wed Feb 13 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-11
- Add missing newline to usage() screen in dhclient
* Thu Feb 07 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-10
- Save conf files adding '.predhclient.$interface' to the name (#306381)
- Only restore conf files on EXPIRE/FAIL/RELEASE/STOP if there are no other