Update the lash shell (hopefully the last time...) so things like
[oweals/busybox.git] / makedevs.c
index c9802cca7748eecf01c7d127aa401c26bf939a0a..b8c6dd1d8331f39a7d97ba49a5504c1305124e10 100644 (file)
@@ -7,13 +7,13 @@
  * known bugs: can't deal with alpha ranges
  */
 
-#include "internal.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <fcntl.h>
 #include <unistd.h>
 #include <sys/types.h>
+#include "busybox.h"
 
 int makedevs_main(int argc, char **argv)
 {
@@ -32,7 +32,7 @@ int makedevs_main(int argc, char **argv)
        char buf[255];
 
        if (argc < 7 || *argv[1]=='-')
-               usage(makedevs_usage);
+               show_usage();
 
        switch (type[0]) {
        case 'c':
@@ -45,7 +45,7 @@ int makedevs_main(int argc, char **argv)
                mode = S_IFIFO;
                break;
        default:
-               usage(makedevs_usage);
+               show_usage();
        }
        mode |= 0660;