Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/netstat Line up total numbers again (for -b case and...
details: https://anonhg.NetBSD.org/src/rev/4649ce1af8ce
branches: trunk
changeset: 782178:4649ce1af8ce
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Fri Oct 19 19:50:19 2012 +0000
description:
Line up total numbers again (for -b case and -X case).
diffstat:
usr.bin/netstat/if.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (46 lines):
diff -r ad0efaa38787 -r 4649ce1af8ce usr.bin/netstat/if.c
--- a/usr.bin/netstat/if.c Fri Oct 19 19:44:06 2012 +0000
+++ b/usr.bin/netstat/if.c Fri Oct 19 19:50:19 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if.c,v 1.74 2012/03/20 20:34:58 matt Exp $ */
+/* $NetBSD: if.c,v 1.75 2012/10/19 19:50:19 msaitoh Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "from: @(#)if.c 8.2 (Berkeley) 2/21/94";
#else
-__RCSID("$NetBSD: if.c,v 1.74 2012/03/20 20:34:58 matt Exp $");
+__RCSID("$NetBSD: if.c,v 1.75 2012/10/19 19:50:19 msaitoh Exp $");
#endif
#endif /* not lint */
@@ -601,11 +601,11 @@
iftot_print(struct iftot *cur, struct iftot *old)
{
if (bflag)
- printf("%10" PRIu64 "%8.8s %10" PRIu64 "%5.5s",
+ printf("%10" PRIu64 " %8.8s %10" PRIu64 " %5.5s",
cur->ift_ib - old->ift_ib, " ",
cur->ift_ob - old->ift_ob, " ");
else
- printf("%8" PRIu64 "%5" PRIu64 "%8" PRIu64 "%5" PRIu64 "%5" PRIu64,
+ printf("%8" PRIu64 " %5" PRIu64 " %8" PRIu64 " %5" PRIu64 " %5" PRIu64,
cur->ift_ip - old->ift_ip,
cur->ift_ie - old->ift_ie,
cur->ift_op - old->ift_op,
@@ -621,11 +621,11 @@
iftot_print_sum(struct iftot *cur, struct iftot *old)
{
if (bflag)
- printf(" %10" PRIu64 "%8.8s %10" PRIu64 "%5.5s",
+ printf(" %10" PRIu64 " %8.8s %10" PRIu64 " %5.5s",
cur->ift_ib - old->ift_ib, " ",
cur->ift_ob - old->ift_ob, " ");
else
- printf(" %8" PRIu64 "%5" PRIu64 "%8" PRIu64 "%5" PRIu64 "%5" PRIu64,
+ printf(" %8" PRIu64 " %5" PRIu64 " %8" PRIu64 " %5" PRIu64 " %5" PRIu64,
cur->ift_ip - old->ift_ip,
cur->ift_ie - old->ift_ie,
cur->ift_op - old->ift_op,
Home |
Main Index |
Thread Index |
Old Index