Convert mount to use getopt.
[oweals/busybox.git] / util-linux / fdflush.c
index fcf8ddd28fc5092d1935f981afdab0bd118ead6f..28f5cb68a02244da47ab04a0073e9d6aff2c317b 100644 (file)
  *
  */
 
-#include "busybox.h"
 #include <stdio.h>
 #include <sys/ioctl.h>
 #include <fcntl.h>
 #include <stdlib.h>
+#include "busybox.h"
 
 /* From <linux/fd.h> */
 #define FDFLUSH  _IO(2,0x4b)
@@ -35,7 +35,7 @@ extern int fdflush_main(int argc, char **argv)
        int fd;
 
        if (argc <= 1 || **(++argv) == '-')
-               usage(fdflush_usage);
+               show_usage();
 
        if ((fd = open(*argv, 0)) < 0)
                perror_msg_and_die("%s", *argv);