httpd: reduce ifdef forest. comment out redundant PATH setting
[oweals/busybox.git] / networking / ping6.c
index 0d6a739bf74175184105567a0f90c1641ecb28e0..af9c00e22019005fe31090a1055c0d279b62555d 100644 (file)
@@ -305,10 +305,10 @@ static void unpack(char *packet, int sz, struct sockaddr_in6 *from, int hoplimit
                           triptime / 10, triptime % 10);
                if (dupflag)
                        printf(" (DUP!)");
-               printf("\n");
+               puts("");
        } else
                if (icmppkt->icmp6_type != ICMP6_ECHO_REQUEST)
-                       bb_error_msg("Warning: Got ICMP %d (%s)",
+                       bb_error_msg("warning: got ICMP %d (%s)",
                                        icmppkt->icmp6_type, icmp6_type_name(icmppkt->icmp6_type));
 }
 
@@ -329,7 +329,7 @@ static void ping(const char *host)
        pingaddr.sin6_family = AF_INET6;
        hostent = xgethostbyname2(host, AF_INET6);
        if (hostent->h_addrtype != AF_INET6)
-               bb_error_msg_and_die("unknown address type; only AF_INET6 is currently supported.");
+               bb_error_msg_and_die("unknown address type; only AF_INET6 is currently supported");
 
        memcpy(&pingaddr.sin6_addr, hostent->h_addr, sizeof(pingaddr.sin6_addr));