Fixed 'ls -s' so it actually displays block sizes again.
[oweals/busybox.git] / nslookup.c
index 5a6387d79a29002d407e37dcd701c13f18cb6c89..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.15 2001/01/20 21:51:21 andersen Exp $ */
+/* $Id: nslookup.c,v 1.21 2001/02/14 21:23:06 andersen Exp $ */