1303 files changed, 32187 insertions, 57138 deletions
diff --git a/util-linux/fdformat.c b/util-linux/fdformat.c index 6f49cec..67c6e15 100644 --- a/util-linux/fdformat.c +++ b/util-linux/fdformat.c @@ -4,6 +4,16 @@ * * Licensed under GPLv2, see file LICENSE in this source tree. */ +//config:config FDFORMAT +//config: bool "fdformat" +//config: default y +//config: select PLATFORM_LINUX +//config: help +//config: fdformat is used to low-level format a floppy disk. + +//applet:IF_FDFORMAT(APPLET(fdformat, BB_DIR_USR_SBIN, BB_SUID_DROP)) + +//kbuild:lib-$(CONFIG_FDFORMAT) += fdformat.o //usage:#define fdformat_trivial_usage //usage: "[-n] DEVICE" @@ -93,7 +103,7 @@ int fdformat_main(int argc UNUSED_PARAM, char **argv) } xioctl(fd, FDFMTEND, NULL); - printf("done\n"); + puts("Done"); /* VERIFY */ if (verify) { @@ -126,7 +136,7 @@ int fdformat_main(int argc UNUSED_PARAM, char **argv) if (ENABLE_FEATURE_CLEAN_UP) free(data); - printf("done\n"); + puts("Done"); } if (ENABLE_FEATURE_CLEAN_UP) close(fd); |