Fix the pwd and group functions. The bb_ stuff was a leftover from
[oweals/busybox.git] / hostid.c
index 3bf79de473fef8df7895754fc4d51147000fc9e5..eed1a50ec8e8560cc8df3a9c00ac0483a28e5f18 100644 (file)
--- a/hostid.c
+++ b/hostid.c
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
 
 extern int hostid_main(int argc, char **argv)
 {
-       if (argc > 1 && strcmp(argv[1], "--help") == 0)
-               usage(hostid_usage);
-
        printf("%lx\n", gethostid());
-       return(TRUE);
+       return EXIT_SUCCESS;
 }