Static-ify a variable. make du work with all the human-readable variants

since my last pass only fixed 'du -h' but left the others broken.
This commit is contained in:
Eric Andersen
2001-03-07 06:04:08 +00:00
parent a7db19bb81
commit ec9fad9a49
4 changed files with 34 additions and 12 deletions

View File

@ -31,7 +31,7 @@
extern const char mtab_file[]; /* Defined in utility.c */
#ifdef BB_FEATURE_HUMAN_READABLE
unsigned long disp_hr = KILOBYTE;
static unsigned long disp_hr = KILOBYTE;
#endif
static int df(char *device, const char *mountPoint)