/[packages]/cauldron/dhcp/pristine/SOURCES/dhcp-4.2.2-fix-format-errors.patch
ViewVC logotype

Contents of /cauldron/dhcp/pristine/SOURCES/dhcp-4.2.2-fix-format-errors.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 223346 - (show annotations) (download)
Wed Mar 14 12:00:40 2012 UTC (8 years ago) by schedbot
File size: 2409 byte(s)
Copying release 3:4.2.3P2-4.mga2 to pristine/ directory.
1 diff -Naur -x '*.orig' dhcp-4.2.2/client/dhclient.c dhcp-4.2.2-fix-format-errors/client/dhclient.c
2 --- dhcp-4.2.2/client/dhclient.c 2011-07-01 13:58:53.000000000 +0200
3 +++ dhcp-4.2.2-fix-format-errors/client/dhclient.c 2011-08-29 19:08:55.560183457 +0200
4 @@ -420,9 +420,9 @@
5
6 if (!quiet) {
7 log_info("%s %s", message, PACKAGE_VERSION);
8 - log_info(copyright);
9 - log_info(arr);
10 - log_info(url);
11 + log_info("%s", copyright);
12 + log_info("%s", arr);
13 + log_info("%s", url);
14 log_info("%s", "");
15 } else {
16 log_perror = 0;
17 @@ -701,9 +701,9 @@
18 static void usage()
19 {
20 log_info("%s %s", message, PACKAGE_VERSION);
21 - log_info(copyright);
22 - log_info(arr);
23 - log_info(url);
24 + log_info("%s", copyright);
25 + log_info("%s", arr);
26 + log_info("%s", url);
27
28
29 log_fatal("Usage: dhclient "
30 diff -Naur -x '*.orig' dhcp-4.2.2/relay/dhcrelay.c dhcp-4.2.2-fix-format-errors/relay/dhcrelay.c
31 --- dhcp-4.2.2/relay/dhcrelay.c 2011-05-10 15:07:37.000000000 +0200
32 +++ dhcp-4.2.2-fix-format-errors/relay/dhcrelay.c 2011-08-29 19:08:55.561183444 +0200
33 @@ -428,9 +428,9 @@
34
35 if (!quiet) {
36 log_info("%s %s", message, PACKAGE_VERSION);
37 - log_info(copyright);
38 - log_info(arr);
39 - log_info(url);
40 + log_info("%s", copyright);
41 + log_info("%s", arr);
42 + log_info("%s", url);
43 } else {
44 quiet = 0;
45 log_perror = 0;
46 diff -Naur -x '*.orig' dhcp-4.2.2/server/dhcpd.c dhcp-4.2.2-fix-format-errors/server/dhcpd.c
47 --- dhcp-4.2.2/server/dhcpd.c 2011-04-21 16:08:15.000000000 +0200
48 +++ dhcp-4.2.2-fix-format-errors/server/dhcpd.c 2011-08-29 19:08:55.563183419 +0200
49 @@ -474,9 +474,9 @@
50
51 if (!quiet) {
52 log_info("%s %s", message, PACKAGE_VERSION);
53 - log_info (copyright);
54 - log_info (arr);
55 - log_info (url);
56 + log_info ("%s", copyright);
57 + log_info ("%s", arr);
58 + log_info ("%s", url);
59 } else {
60 quiet = 0;
61 log_perror = 0;
62 @@ -1096,9 +1096,9 @@
63 log_perror = 0;
64 log_info("%s %s",
65 message, PACKAGE_VERSION);
66 - log_info (copyright);
67 - log_info (arr);
68 - log_info (url);
69 + log_info ("%s", copyright);
70 + log_info ("%s", arr);
71 + log_info ("%s", url);
72 log_perror = tmp;
73 }
74 } else
75 @@ -1205,8 +1205,8 @@
76 static void
77 usage(void) {
78 log_info("%s %s", message, PACKAGE_VERSION);
79 - log_info(copyright);
80 - log_info(arr);
81 + log_info("%s", copyright);
82 + log_info("%s", arr);
83
84 log_fatal("Usage: dhcpd [-p <UDP port #>] [-f] [-d] [-q] [-t|-T]\n"
85 #ifdef DHCPv6

  ViewVC Help
Powered by ViewVC 1.1.26