Fixed 'ls -s' so it actually displays block sizes again.
[oweals/busybox.git] / fdflush.c
index 5eb93ddd7d7aa44494e9fb8bd17051b2b71c14f3..f10cceae08054830b8659780ff2fab62b143cd66 100644 (file)
--- a/fdflush.c
+++ b/fdflush.c
@@ -25,6 +25,7 @@
 #include <stdio.h>
 #include <sys/ioctl.h>
 #include <fcntl.h>
+#include <stdlib.h>
 
 /* From <linux/fd.h> */
 #define FDFLUSH  _IO(2,0x4b)
@@ -34,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);