Changeset 11060 for trunk/cli/cli.c


Ignore:
Timestamp:
Jul 28, 2010, 12:31:11 AM (12 years ago)
Author:
charles
Message:

(trunk) #3045 "size units" -- sync the default units in all the apps s.t. they're consistent with each other

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cli/cli.c

    r10955 r11060  
    4646#define MEM_T_STR "TiB"
    4747
    48 #define DISK_K 1000
    49 #define DISK_B_STR "B"
    50 #define DISK_K_STR "kB"
    51 #define DISK_M_STR "MB"
    52 #define DISK_G_STR "GB"
    53 #define DISK_T_STR "TB"
    54 
    55 #define SPEED_K 1000
    56 #define SPEED_B_STR "B/s"
    57 #define SPEED_K_STR "kB/s"
    58 #define SPEED_M_STR "MB/s"
    59 #define SPEED_G_STR "GB/s"
    60 #define SPEED_T_STR "TB/s"
     48#define DISK_K 1024
     49#define DISK_B_STR   "B"
     50#define DISK_K_STR "KiB"
     51#define DISK_M_STR "MiB"
     52#define DISK_G_STR "GiB"
     53#define DISK_T_STR "TiB"
     54
     55#define SPEED_K 1024
     56#define SPEED_B_STR   "B/s"
     57#define SPEED_K_STR "KiB/s"
     58#define SPEED_M_STR "MiB/s"
     59#define SPEED_G_STR "GiB/s"
     60#define SPEED_T_STR "TiB/s"
    6161
    6262/***
Note: See TracChangeset for help on using the changeset viewer.