aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-10-16 22:53:05 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-10-16 22:53:05 +0000
commit557613656317ccf401669dcc6681155bf2930c9f (patch)
tree4c1b64b064a304cf4aca3bc9696c6a962d677409 /coreutils
parent23c8128916d9a40b473557a11d431549a94604f1 (diff)
downloadbusybox-557613656317ccf401669dcc6681155bf2930c9f.tar.gz
fixes revealed by randomconfig run
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/stat.c b/coreutils/stat.c
index a5a30546d..5996268ef 100644
--- a/coreutils/stat.c
+++ b/coreutils/stat.c
@@ -119,6 +119,7 @@ static const char *human_fstype(uint32_t f_type)
return humantypes[i].fs;
}
+#if ENABLE_FEATURE_STAT_FORMAT
static void strcatc(char *str, char c)
{
int len = strlen(str);
@@ -132,7 +133,6 @@ static void printfs(char *pformat, const char *msg)
printf(pformat, msg);
}
-#if ENABLE_FEATURE_STAT_FORMAT
/* print statfs info */
static void print_statfs(char *pformat, const char m,
const char *const filename, const void *data