bc: convert to "G trick" - this returns bc to zero bss increase
[oweals/busybox.git] / util-linux / blkdiscard.c
index 048d39e83693ab89f59a36761cb088555ca8e0bc..e4902e5b5ba12973a7ac3c5122b6b6741dab5e2a 100644 (file)
@@ -8,6 +8,7 @@
 //config:config BLKDISCARD
 //config:      bool "blkdiscard (5.3 kb)"
 //config:      default y
+//config:      select PLATFORM_LINUX
 //config:      help
 //config:      blkdiscard discards sectors on a given device.
 
@@ -53,8 +54,7 @@ int blkdiscard_main(int argc UNUSED_PARAM, char **argv)
                OPT_SECURE = (1 << 2),
        };
 
-       opt_complementary = "=1";
-       opts = getopt32(argv, "o:l:s", &offset_str, &length_str);
+       opts = getopt32(argv, "^" "o:l:s" "\0" "=1", &offset_str, &length_str);
        argv += optind;
 
        fd = xopen(argv[0], O_RDWR|O_EXCL);