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/tcpdump Pull up revision 1.7 (requested by he):
details: https://anonhg.NetBSD.org/src/rev/43fc1b564c17
branches: netbsd-1-4
changeset: 471141:43fc1b564c17
user: he <he%NetBSD.org@localhost>
date: Thu Oct 19 17:05:53 2000 +0000
description:
Pull up revision 1.7 (requested by he):
Format string cleanup.
diffstat:
usr.sbin/tcpdump/print-bootp.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 348e80a2faf1 -r 43fc1b564c17 usr.sbin/tcpdump/print-bootp.c
--- a/usr.sbin/tcpdump/print-bootp.c Thu Oct 19 17:05:51 2000 +0000
+++ b/usr.sbin/tcpdump/print-bootp.c Thu Oct 19 17:05:53 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: print-bootp.c,v 1.5 1998/07/08 22:14:10 cgd Exp $ */
+/* $NetBSD: print-bootp.c,v 1.5.2.1 2000/10/19 17:05:53 he Exp $ */
/*
* Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996, 1997
@@ -28,7 +28,7 @@
static const char rcsid[] =
"@(#) Header: print-bootp.c,v 1.45 97/06/15 13:20:28 leres Exp (LBL)";
#else
-__RCSID("$NetBSD: print-bootp.c,v 1.5 1998/07/08 22:14:10 cgd Exp $");
+__RCSID("$NetBSD: print-bootp.c,v 1.5.2.1 2000/10/19 17:05:53 he Exp $");
#endif
#endif
@@ -334,7 +334,7 @@
cmu_print(register const u_char *bp, register u_int length)
{
register const struct cmu_vend *cmu;
- char *fmt = " %s:%s";
+ const char fmt[] = " %s:%s";
#define PRINTCMUADDR(m, s) { TCHECK(cmu->m); \
if (cmu->m.s_addr != 0) \
Home |
Main Index |
Thread Index |
Old Index