summaryrefslogtreecommitdiffhomepage
path: root/df.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-07 06:04:08 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-07 06:04:08 +0000
commitec9fad9a4997bbabaebad3c29a3c9f1ef2068788 (patch)
treee53a72ff52a23bb99470f811f0a0147b9a32373d /df.c
parenta7db19bb81ee37ffeafb1c2e940f7ac9991bc81e (diff)
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 'df.c')
-rw-r--r--df.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/df.c b/df.c
index 1f5e4b09e..9f8770fe6 100644
--- a/df.c
+++ b/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)