summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-08-13 19:01:39 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-08-13 19:01:39 +0000
commit07e53b302cdc38de1d4f49fe45c7e9b403b127c5 (patch)
tree6951d7b81276af3840505c055d32bda56013044b
parent0f7613c03c4bd997808651e637c2f8e94a438a44 (diff)
typo. be more friendly with netstat -ssn. from jhawk@netbsd (via kame)
-rw-r--r--usr.bin/netstat/inet6.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/netstat/inet6.c b/usr.bin/netstat/inet6.c
index c64b20326b3..8c3ed24c628 100644
--- a/usr.bin/netstat/inet6.c
+++ b/usr.bin/netstat/inet6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inet6.c,v 1.9 2000/07/12 16:16:57 itojun Exp $ */
+/* $OpenBSD: inet6.c,v 1.10 2000/08/13 19:01:38 itojun Exp $ */
/* BSDI inet.c,v 2.3 1995/10/24 02:19:29 prb Exp */
/*
* Copyright (c) 1983, 1988, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)inet.c 8.4 (Berkeley) 4/20/94";
#else
-/*__RCSID("$OpenBSD: inet6.c,v 1.9 2000/07/12 16:16:57 itojun Exp $");*/
+/*__RCSID("$OpenBSD: inet6.c,v 1.10 2000/08/13 19:01:38 itojun Exp $");*/
/*__RCSID("KAME Id: inet6.c,v 1.10 2000/02/09 10:49:31 itojun Exp");*/
#endif
#endif /* not lint */
@@ -395,8 +395,8 @@ ip6_stats(off, name)
printf("\t\t%s: %qu\n", ip6nh[i],
ip6stat.ip6s_nxthist[i]);
}
- printf("\tMbuf statics:\n");
- printf("\t\t%qu one mbuf\n", ip6stat.ip6s_m1);
+ printf("\tMbuf statistics:\n");
+ p(ip6s_m1, "\t\t%qu one mbuf%s\n");
for (first = 1, i = 0; i < 32; i++) {
char ifbuf[IFNAMSIZ];
if (ip6stat.ip6s_m2m[i] != 0) {
@@ -409,8 +409,8 @@ ip6_stats(off, name)
ip6stat.ip6s_m2m[i]);
}
}
- printf("\t\t%qu one ext mbuf\n", ip6stat.ip6s_mext1);
- printf("\t\t%qu two or more ext mbuf\n", ip6stat.ip6s_mext2m);
+ p(ip6s_mext1, "\t\t%qu one ext mbuf%s\n");
+ p(ip6s_mext2m, "\t\t%qu two or more ext mbuf%s\n");
p(ip6s_exthdrtoolong, "\t%qu packet%s whose headers are not continuous\n");
p(ip6s_nogif, "\t%qu tunneling packet%s that can't find gif\n");
p(ip6s_toomanyhdr, "\t%qu packet%s discarded due to too may headers\n");