Fixed 'ls -s' so it actually displays block sizes again.
[oweals/busybox.git] / watchdog.c
index d297afa02bdecbfb1ffd89305d62c0bf75473a8e..65d0fc35f2ae252904e572d097585bb93bbbd36d 100644 (file)
 #include "busybox.h"
 #include <stdio.h>
 #include <fcntl.h>
+#include <unistd.h>
+#include <stdlib.h>
 
 extern int watchdog_main(int argc, char **argv)
 {
        int fd;
 
        if (argc != 2) {
-               usage(watchdog_usage);
+               show_usage();
        }
 
        if ((fd=open(argv[1], O_WRONLY)) == -1) {