Fixed 'ls -s' so it actually displays block sizes again.
[oweals/busybox.git] / nslookup.c
index 271518f2207625ed6c73e3f6adc21e561e2387d6..33732de68aa44cb15168d87bd0bde61474d84bd4 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Mini nslookup implementation for busybox
  *
- * Copyright (C) 2000 by Lineo, inc.
+ * Copyright (C) 1999,2000,2001 by Lineo, inc.
  * Written by John Beppu <beppu@lineo.com>
  *
  * This program is free software; you can redistribute it and/or modify
@@ -26,6 +26,7 @@
 #include <errno.h>
 #include <stdio.h>
 #include <string.h>
+#include <stdlib.h>
 
 #include <netdb.h>
 #include <sys/socket.h>
@@ -156,7 +157,7 @@ int nslookup_main(int argc, char **argv)
        struct hostent *host;
 
        if (argc < 2 || *argv[1]=='-') {
-               usage(nslookup_usage);
+               show_usage();
        }
 
        server_print();
@@ -169,4 +170,4 @@ int nslookup_main(int argc, char **argv)
        return EXIT_SUCCESS;
 }
 
-/* $Id: nslookup.c,v 1.18 2001/01/24 18:44:54 andersen Exp $ */
+/* $Id: nslookup.c,v 1.21 2001/02/14 21:23:06 andersen Exp $ */