Source-Changes-HG archive

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

[src/netbsd-6]: src/usr.bin/netstat Pull up following revision(s) (requested ...



details:   https://anonhg.NetBSD.org/src/rev/73ef3708b190
branches:  netbsd-6
changeset: 775403:73ef3708b190
user:      riz <riz%NetBSD.org@localhost>
date:      Wed Oct 24 03:39:17 2012 +0000

description:
Pull up following revision(s) (requested by msaitoh in ticket #632):
        usr.bin/netstat/if.c: revision 1.75
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 343bf2a8acf6 -r 73ef3708b190 usr.bin/netstat/if.c
--- a/usr.bin/netstat/if.c      Wed Oct 24 03:36:29 2012 +0000
+++ b/usr.bin/netstat/if.c      Wed Oct 24 03:39:17 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.c,v 1.73 2012/02/12 19:11:33 christos Exp $ */
+/*     $NetBSD: if.c,v 1.73.2.1 2012/10/24 03:39:17 riz 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.73 2012/02/12 19:11:33 christos Exp $");
+__RCSID("$NetBSD: if.c,v 1.73.2.1 2012/10/24 03:39:17 riz Exp $");
 #endif
 #endif /* not lint */
 
@@ -604,11 +604,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,
@@ -624,11 +624,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