Module Name:    src
Committed By:   riz
Date:           Wed Oct 24 03:39:18 UTC 2012

Modified Files:
        src/usr.bin/netstat [netbsd-6]: if.c

Log Message:
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).


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.73.2.1 src/usr.bin/netstat/if.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/netstat/if.c
diff -u src/usr.bin/netstat/if.c:1.73 src/usr.bin/netstat/if.c:1.73.2.1
--- src/usr.bin/netstat/if.c:1.73	Sun Feb 12 19:11:33 2012
+++ src/usr.bin/netstat/if.c	Wed Oct 24 03:39:17 2012
@@ -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 @@ static void
 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 @@ static void
 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,

Reply via email to