wok rev 24021

busybox: fix busybox-1.31-stat.u
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 06 18:53:34 2021 +0000 (2021-03-06)
parents 42b4b9d947f3
children 217c02cbbe8d
files busybox/stuff/busybox-1.31-stat.u
line diff
     1.1 --- a/busybox/stuff/busybox-1.31-stat.u	Sat Mar 06 18:15:05 2021 +0000
     1.2 +++ b/busybox/stuff/busybox-1.31-stat.u	Sat Mar 06 18:53:34 2021 +0000
     1.3 @@ -55,16 +55,22 @@
     1.4   #if ENABLE_FEATURE_STAT_FILESYSTEM
     1.5   /* Stat the file system and print what we find.  */
     1.6   #if !ENABLE_FEATURE_STAT_FORMAT
     1.7 -@@ -770,7 +792,7 @@
     1.8 +@@ -764,13 +786,11 @@
     1.9 + 	int i;
    1.10 + 	int ok;
    1.11 + 	statfunc_ptr statfunc = do_stat;
    1.12 +-#if ENABLE_FEATURE_STAT_FILESYSTEM || ENABLE_SELINUX
    1.13 + 	unsigned opts;
    1.14 + 
    1.15   	opts =
    1.16 - #endif
    1.17 +-#endif
    1.18   	getopt32(argv, "^"
    1.19  -		"tL"
    1.20  +		"tLm"
    1.21   		IF_FEATURE_STAT_FILESYSTEM("f")
    1.22   		IF_SELINUX("Z")
    1.23   		IF_FEATURE_STAT_FORMAT("c:")
    1.24 -@@ -786,6 +808,9 @@
    1.25 +@@ -786,6 +806,9 @@
    1.26   		selinux_or_die();
    1.27   	}
    1.28   #endif