enum entry for unarchive to be used by tar
[oweals/busybox.git] / deallocvt.c
index b51fbaef442607dbdeb04160c3d07163e8907acf..15cd0c9b9a76b3087f795887f0f869485b2a6b6e 100644 (file)
@@ -3,12 +3,12 @@
  * disalloc.c - aeb - 940501 - Disallocate virtual terminal(s)
  * Renamed deallocvt.
  */
-#include "busybox.h"
 #include <stdlib.h>
 #include <stdio.h>
 #include <fcntl.h>
 #include <sys/types.h>
 #include <sys/ioctl.h>
+#include "busybox.h"
 
 /* From <linux/vt.h> */
 static const int VT_DISALLOCATE = 0x5608;  /* free memory associated to vt */
@@ -19,7 +19,7 @@ int deallocvt_main(int argc, char *argv[])
 
        //if ((argc > 2) || ((argv == 2) && (**(argv + 1) == '-')))
        if (argc > 2)
-               usage(deallocvt_usage);
+               show_usage();
 
        fd = get_console_fd("/dev/console");