wget: -O FILE is allowed to overwrite existing file (compat)
[oweals/busybox.git] / networking / hostname.c
index 95dc4515d450cc25e50c05fc71593b42a50cf14c..6783dbacb38cd41066b716f82b924a71b00b0af0 100644 (file)
@@ -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 */