This patch from Adam Heath <doogie@debian.org>, makes print_file
[oweals/busybox.git] / hostid.c
index f1010a65d524fa11301801018d22a7138478b3e6..68a2cc65900e1823251b303e2c3aa93c34f36ffb 100644 (file)
--- a/hostid.c
+++ b/hostid.c
  *
  */
 
-#include "internal.h"
 #include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include "busybox.h"
 
 extern int hostid_main(int argc, char **argv)
 {
        printf("%lx\n", gethostid());
-       return(TRUE);
+       return EXIT_SUCCESS;
 }