summaryrefslogtreecommitdiff
path: root/coreutils/df.c
diff options
context:
space:
mode:
authorEric Andersen2001-03-07 06:04:08 +0000
committerEric Andersen2001-03-07 06:04:08 +0000
commitec9fad9a4997bbabaebad3c29a3c9f1ef2068788 (patch)
treee53a72ff52a23bb99470f811f0a0147b9a32373d /coreutils/df.c
parenta7db19bb81ee37ffeafb1c2e940f7ac9991bc81e (diff)
downloadbusybox-ec9fad9a4997bbabaebad3c29a3c9f1ef2068788.zip
busybox-ec9fad9a4997bbabaebad3c29a3c9f1ef2068788.tar.gz
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.
Diffstat (limited to 'coreutils/df.c')
-rw-r--r--coreutils/df.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/df.c b/coreutils/df.c
index 1f5e4b0..9f8770f 100644
--- a/coreutils/df.c
+++ b/coreutils/df.c
@@ -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)