Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/usr.sbin/dhcp/relay Pull up revision 1.7 (via patch, re...



details:   https://anonhg.NetBSD.org/src/rev/cefdf16db1bc
branches:  netbsd-1-4
changeset: 471144:cefdf16db1bc
user:      he <he%NetBSD.org@localhost>
date:      Thu Oct 19 17:12:42 2000 +0000

description:
Pull up revision 1.7 (via patch, requested by he):
  Format string cleanup.

diffstat:

 usr.sbin/dhcp/relay/dhcrelay.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (30 lines):

diff -r 63e9022465d2 -r cefdf16db1bc usr.sbin/dhcp/relay/dhcrelay.c
--- a/usr.sbin/dhcp/relay/dhcrelay.c    Thu Oct 19 17:05:59 2000 +0000
+++ b/usr.sbin/dhcp/relay/dhcrelay.c    Thu Oct 19 17:12:42 2000 +0000
@@ -42,7 +42,7 @@
 
 #ifndef lint
 static char ocopyright [] =
-"$Id: dhcrelay.c,v 1.1.1.12.2.3 2000/07/27 17:17:37 he Exp $ Copyright (c) 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: dhcrelay.c,v 1.1.1.12.2.4 2000/10/19 17:12:42 he Exp $ Copyright (c) 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -74,12 +74,12 @@
        struct sockaddr_in to;
 } *servers;
 
-static char copyright [] =
+static const char copyright [] =
 "Copyright 1997, 1998, 1999 The Internet Software Consortium.";
-static char arr [] = "All rights reserved.";
-static char message [] = "Internet Software Consortium DHCP Relay Agent";
-static char contrib [] = "Please contribute if you find this software useful.";
-static char url [] = "For info, please visit http://www.isc.org/dhcp-contrib.html";;
+static const char arr [] = "All rights reserved.";
+static const char message [] = "Internet Software Consortium DHCP Relay Agent";
+static const char contrib [] = "Please contribute if you find this software useful.";
+static const char url [] = "For info, please visit http://www.isc.org/dhcp-contrib.html";;
 
 int main (argc, argv, envp)
        int argc;



Home | Main Index | Thread Index | Old Index