Newlines in ping tool

This commit is contained in:
def 2014-11-24 22:32:24 +01:00
parent 18315e8c79
commit e8cf3fbec0

View file

@ -16,14 +16,14 @@ int main(int argc, char **argv) // ignore_convention
if(argc != 2)
{
fprintf(stderr, "usage: %s server:port", argv[0]);
fprintf(stderr, "usage: %s server:port\n", argv[0]);
return 1;
}
NETADDR Addr;
if (net_host_lookup(argv[1], &Addr, NETTYPE_ALL))
{
fprintf(stderr, "host lookup failed");
fprintf(stderr, "host lookup failed\n");
return 1;
}