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/bootp Pull up revision 1.4 (requested by he):
details: https://anonhg.NetBSD.org/src/rev/bd1717e3fdb4
branches: netbsd-1-4
changeset: 471122:bd1717e3fdb4
user: he <he%NetBSD.org@localhost>
date: Thu Oct 19 17:04:56 2000 +0000
description:
Pull up revision 1.4 (requested by he):
Format string cleanup.
diffstat:
usr.sbin/bootp/bootptest/getether.c | 6 +++---
usr.sbin/bootp/common/dovend.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (46 lines):
diff -r 420593de25cc -r bd1717e3fdb4 usr.sbin/bootp/bootptest/getether.c
--- a/usr.sbin/bootp/bootptest/getether.c Thu Oct 19 17:04:54 2000 +0000
+++ b/usr.sbin/bootp/bootptest/getether.c Thu Oct 19 17:04:56 2000 +0000
@@ -1,8 +1,8 @@
-/* $NetBSD: getether.c,v 1.3 1998/03/14 04:39:54 lukem Exp $ */
+/* $NetBSD: getether.c,v 1.3.2.1 2000/10/19 17:04:56 he Exp $ */
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: getether.c,v 1.3 1998/03/14 04:39:54 lukem Exp $");
+__RCSID("$NetBSD: getether.c,v 1.3.2.1 2000/10/19 17:04:56 he Exp $");
#endif
/*
@@ -149,7 +149,7 @@
ifc.ifc_buf = (caddr_t) ibuf;
if (ioctl(fd, SIOCGIFCONF, (char *) &ifc) < 0 ||
ifc.ifc_len < sizeof(struct ifreq)) {
- report(LOG_ERR, "getether: SIOCGIFCONF: %s", get_errmsg);
+ report(LOG_ERR, "getether: SIOCGIFCONF: %s", get_errmsg());
goto out;
}
/* Search interface configuration list for link layer address. */
diff -r 420593de25cc -r bd1717e3fdb4 usr.sbin/bootp/common/dovend.c
--- a/usr.sbin/bootp/common/dovend.c Thu Oct 19 17:04:54 2000 +0000
+++ b/usr.sbin/bootp/common/dovend.c Thu Oct 19 17:04:56 2000 +0000
@@ -1,8 +1,8 @@
-/* $NetBSD: dovend.c,v 1.3 1998/03/14 04:39:54 lukem Exp $ */
+/* $NetBSD: dovend.c,v 1.3.2.1 2000/10/19 17:04:57 he Exp $ */
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: dovend.c,v 1.3 1998/03/14 04:39:54 lukem Exp $");
+__RCSID("$NetBSD: dovend.c,v 1.3.2.1 2000/10/19 17:04:57 he Exp $");
#endif
/*
@@ -67,7 +67,7 @@
char *tmpstr;
#endif
- static char noroom[] = "%s: No room for \"%s\" option";
+ static const char noroom[] = "%s: No room for \"%s\" option";
#define NEED(LEN, MSG) do \
if (bytesleft < (LEN)) { \
report(LOG_NOTICE, noroom, \
Home |
Main Index |
Thread Index |
Old Index