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.
details: https://anonhg.NetBSD.org/src/rev/634f0f0904f6
branches: trunk
changeset: 756231:634f0f0904f6
user: enami <enami%NetBSD.org@localhost>
date: Fri Jul 09 07:04:30 2010 +0000
description:
Line up total numbers again.
diffstat:
usr.bin/netstat/if.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 8a326f3e3652 -r 634f0f0904f6 usr.bin/netstat/if.c
--- a/usr.bin/netstat/if.c Fri Jul 09 05:37:30 2010 +0000
+++ b/usr.bin/netstat/if.c Fri Jul 09 07:04:30 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if.c,v 1.68 2010/02/24 11:00:27 pooka Exp $ */
+/* $NetBSD: if.c,v 1.69 2010/07/09 07:04:30 enami 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.68 2010/02/24 11:00:27 pooka Exp $");
+__RCSID("$NetBSD: if.c,v 1.69 2010/07/09 07:04:30 enami Exp $");
#endif
#endif /* not lint */
@@ -869,9 +869,9 @@
if (hflag && humanize_number(humbuf,
sizeof(humbuf), sum->ift_ib - total->ift_ib, "",
HN_AUTOSCALE, HN_NOSPACE | HN_B) > 0)
- printf("%10s %8.8s ", humbuf, " ");
+ printf(" %10s %8.8s ", humbuf, " ");
else
- printf("%10llu %8.8s ",
+ printf(" %10llu %8.8s ",
(unsigned long long)
(sum->ift_ib - total->ift_ib), " ");
Home |
Main Index |
Thread Index |
Old Index