diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-16 22:53:05 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-16 22:53:05 +0000 |
commit | 557613656317ccf401669dcc6681155bf2930c9f (patch) | |
tree | 4c1b64b064a304cf4aca3bc9696c6a962d677409 /coreutils/stat.c | |
parent | 23c8128916d9a40b473557a11d431549a94604f1 (diff) | |
download | busybox-w32-557613656317ccf401669dcc6681155bf2930c9f.tar.gz busybox-w32-557613656317ccf401669dcc6681155bf2930c9f.tar.bz2 busybox-w32-557613656317ccf401669dcc6681155bf2930c9f.zip |
fixes revealed by randomconfig run
Diffstat (limited to 'coreutils/stat.c')
-rw-r--r-- | coreutils/stat.c | 2 |
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) | |||
119 | return humantypes[i].fs; | 119 | return humantypes[i].fs; |
120 | } | 120 | } |
121 | 121 | ||
122 | #if ENABLE_FEATURE_STAT_FORMAT | ||
122 | static void strcatc(char *str, char c) | 123 | static void strcatc(char *str, char c) |
123 | { | 124 | { |
124 | int len = strlen(str); | 125 | int len = strlen(str); |
@@ -132,7 +133,6 @@ static void printfs(char *pformat, const char *msg) | |||
132 | printf(pformat, msg); | 133 | printf(pformat, msg); |
133 | } | 134 | } |
134 | 135 | ||
135 | #if ENABLE_FEATURE_STAT_FORMAT | ||
136 | /* print statfs info */ | 136 | /* print statfs info */ |
137 | static void print_statfs(char *pformat, const char m, | 137 | static void print_statfs(char *pformat, const char m, |
138 | const char *const filename, const void *data | 138 | const char *const filename, const void *data |