aboutsummaryrefslogtreecommitdiff
path: root/hostid.c
diff options
context:
space:
mode:
Diffstat (limited to 'hostid.c')
-rw-r--r--hostid.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/hostid.c b/hostid.c
index f8d5862ae..9e503e598 100644
--- a/hostid.c
+++ b/hostid.c
@@ -1,3 +1,4 @@
1/* vi: set sw=4 ts=4: */
1/* 2/*
2 * Mini hostid implementation for busybox 3 * Mini hostid implementation for busybox
3 * 4 *
@@ -22,7 +23,8 @@
22#include "internal.h" 23#include "internal.h"
23#include <stdio.h> 24#include <stdio.h>
24 25
25extern int hostid_main(int argc, char **argv) { 26extern int hostid_main(int argc, char **argv)
26 printf ("%lx\n", gethostid()); 27{
27 exit( TRUE); 28 printf("%lx\n", gethostid());
29 exit(TRUE);
28} 30}