commit | cdf54d85054858d9e3fc4d7ee8ea5c6a418f1b43 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Tue Oct 04 08:31:40 2011 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Oct 04 08:31:40 2011 +0200 |
tree | d83b1bc18096539489331c30be6dfa80d9ac88a0 | |
parent | 317b3c8b1bd5cdb1f2bd02c94d536fa853321bc6 [diff] [blame] |
client: handle connection failure Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/client.c b/client.c index 4d44b10..89c2b44 100644 --- a/client.c +++ b/client.c
@@ -111,6 +111,7 @@ 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); return 1; }