git: systat: Sync ifstat code with FreeBSD.

Peter Avalos pavalos at crater.dragonflybsd.org
Sat Aug 27 21:17:32 PDT 2011


commit a64bdeb10ad2dfa67a2e6d47fba6c6285957ba5a
Author: Peter Avalos <pavalos at dragonflybsd.org>
Date:   Sat Aug 27 18:53:25 2011 -0700

    systat:  Sync ifstat code with FreeBSD.
    
    -Add a tera factor.
    -Change factors from binary (1024) to SI (1000).
    -Allow for larger scale factors.
    -Drop useless initializers and includes.
    -Use C99 initializers and enums.
    -Remove trailing whitespace.
    
    Obtained-from:   FreeBSD

Summary of changes:
 usr.bin/systat/convtbl.c |  123 ++++++++++++++++++++++++++++++++-------------
 usr.bin/systat/convtbl.h |   50 ++++++++-----------
 usr.bin/systat/ifcmds.c  |   62 +++--------------------
 usr.bin/systat/ifstat.c  |   41 ++++++---------
 4 files changed, 133 insertions(+), 143 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a64bdeb10ad2dfa67a2e6d47fba6c6285957ba5a


-- 
DragonFly BSD source repository





More information about the Commits mailing list