diff options
Diffstat (limited to 'hostid.c')
-rw-r--r-- | hostid.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 | ||
25 | extern int hostid_main(int argc, char **argv) { | 26 | extern 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 | } |