aboutsummaryrefslogtreecommitdiff
path: root/coreutils/stat.c
diff options
context:
space:
mode:
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")