if (connect(fd, (struct sockaddr *) &client->addr, sizeof(client->addr)) < 0) {
log_err("fio: connect: %s\n", strerror(errno));
- log_err("fio: failed to connect to %s\n", client->hostname);
+ log_err("fio: failed to connect to %s:%u\n", client->hostname,
+ client->port);
close(fd);
return -1;
}
dprint(FD_NET, "client: connect to host %s\n", client->hostname);
- memset(&client->addr, 0, sizeof(client->addr));
-
if (client->is_sock)
fd = fio_client_connect_sock(client);
else
if (!arch)
os = "unknown";
- log_info("hostname=%s, be=%u, os=%s, arch=%s, fio ver %u.%u.%u\n",
+ log_info("hostname=%s, be=%u, os=%s, arch=%s, fio=%u.%u.%u\n",
probe->hostname, probe->bigendian, os, arch, probe->fio_major,
probe->fio_minor, probe->fio_patch);
}