Fix up a stupid mistake caught by David Whedon <dwhedon@gordian.com>
[oweals/busybox.git] / nc.c
diff --git a/nc.c b/nc.c
index 3f512d1cb56fe11be546ca88ea11102072697263..e40d4b459491fd307b6b456f14dcb05d44926509 100644 (file)
--- a/nc.c
+++ b/nc.c
@@ -26,7 +26,6 @@
 
 */
 
-#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
@@ -38,6 +37,7 @@
 #include <netdb.h>
 #include <sys/time.h>
 #include <sys/ioctl.h>
+#include "busybox.h"
 
 int nc_main(int argc, char **argv)
 {
@@ -58,12 +58,12 @@ int nc_main(int argc, char **argv)
                                lport = atoi(optarg);
                                break;
                        default:
-                               usage(nc_usage);
+                               show_usage();
                }
        }
 
        if ((do_listen && optind != argc) || (!do_listen && optind + 2 != argc))
-               usage(nc_usage);
+               show_usage();
 
        if ((sfd = socket(AF_INET, SOCK_STREAM, 0)) < 0)
                perror_msg_and_die("socket");