Fix some compiler warnings emitted by gcc-4.8.0
[oweals/busybox.git] / util-linux / fdformat.c
index 57e9c26f8194e53d04ae0107fe6892362e87cb73..b3e918fb0c74ec5ebd34ebed636bd2aa9b1db65d 100644 (file)
@@ -5,6 +5,12 @@
  * Licensed under GPLv2, see file LICENSE in this source tree.
  */
 
+//usage:#define fdformat_trivial_usage
+//usage:       "[-n] DEVICE"
+//usage:#define fdformat_full_usage "\n\n"
+//usage:       "Format floppy disk\n"
+//usage:     "\n       -n      Don't verify after format"
+
 #include "libbb.h"
 
 
@@ -110,7 +116,7 @@ int fdformat_main(int argc UNUSED_PARAM, char **argv)
                        /* Check backwards so we don't need a counter */
                        while (--read_bytes >= 0) {
                                if (data[read_bytes] != FD_FILL_BYTE) {
-                                        printf("bad data in cyl %d\nContinuing... ", cyl);
+                                       printf("bad data in cyl %d\nContinuing... ", cyl);
                                }
                        }
                }