projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wget: -O FILE is allowed to overwrite existing file (compat)
[oweals/busybox.git]
/
networking
/
hostname.c
diff --git
a/networking/hostname.c
b/networking/hostname.c
index 95dc4515d450cc25e50c05fc71593b42a50cf14c..6783dbacb38cd41066b716f82b924a71b00b0af0 100644
(file)
--- a/
networking/hostname.c
+++ b/
networking/hostname.c
@@
-83,7
+83,7
@@
int hostname_main(int argc, char **argv)
while (hp->h_addr_list[0]) {
printf("%s ", inet_ntoa(*(struct in_addr *) (*hp->h_addr_list++)));
}
-
puts(""
);
+
bb_putchar('\n'
);
}
}
/* Set the hostname */