aboutsummaryrefslogtreecommitdiff
path: root/coreutils/stat.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-12-31 17:30:02 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2017-12-31 17:30:02 +0100
commit82d1c1f84ae23793d81b50aa0a753ad7c4db4f51 (patch)
treee5c1dc00b04299cf627cf2ef18453aea96c5f1e5 /coreutils/stat.c
parent36acc4631c94bb0f43ecaac5d61dc773ef773e91 (diff)
downloadbusybox-w32-82d1c1f84ae23793d81b50aa0a753ad7c4db4f51.tar.gz
busybox-w32-82d1c1f84ae23793d81b50aa0a753ad7c4db4f51.tar.bz2
busybox-w32-82d1c1f84ae23793d81b50aa0a753ad7c4db4f51.zip
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/stat.c')
-rw-r--r--coreutils/stat.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/coreutils/stat.c b/coreutils/stat.c
index dafbd4e9f..7ba3db155 100644
--- a/coreutils/stat.c
+++ b/coreutils/stat.c
@@ -759,10 +759,13 @@ int stat_main(int argc UNUSED_PARAM, char **argv)
759 IF_FEATURE_STAT_FORMAT(char *format = NULL;) 759 IF_FEATURE_STAT_FORMAT(char *format = NULL;)
760 int i; 760 int i;
761 int ok; 761 int ok;
762 unsigned opts;
763 statfunc_ptr statfunc = do_stat; 762 statfunc_ptr statfunc = do_stat;
763#if ENABLE_FEATURE_STAT_FILESYSTEM || ENABLE_SELINUX
764 unsigned opts;
764 765
765 opts = getopt32(argv, "^" 766 opts =
767#endif
768 getopt32(argv, "^"
766 "tL" 769 "tL"
767 IF_FEATURE_STAT_FILESYSTEM("f") 770 IF_FEATURE_STAT_FILESYSTEM("f")
768 IF_SELINUX("Z") 771 IF_SELINUX("Z")