This fixes lash so it handles environment variable expansion, regardless
[oweals/busybox.git] / pivot_root.c
index 92fe4aeabe2a4e1479384b0396d0623161280806..d7b80d7493a7d50f0c522b4de68790b2eca44ab3 100644 (file)
@@ -4,11 +4,11 @@
  *
  * busyboxed by Evin Robertson
  */
-#include "busybox.h"
 #include <stdlib.h>
 #include <stdio.h>
 #include <sys/syscall.h>
 #include <linux/unistd.h>
+#include "busybox.h"
 
 #ifndef __NR_pivot_root
 #error Sorry, but this kernel does not support the pivot_root syscall
@@ -20,7 +20,7 @@ static _syscall2(int,pivot_root,const char *,new_root,const char *,put_old)
 int pivot_root_main(int argc, char **argv)
 {
     if (argc != 3)
-        usage(pivot_root_usage);
+        show_usage();
 
     if (pivot_root(argv[1],argv[2]) < 0)
         perror_msg_and_die("pivot_root");