console-client: Improve failure-to-connect warning

Print the abstract socket path to which we failed to connect.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I62b3656d5aeda655dcb89e53beccb02f0046661c
diff --git a/console-client.c b/console-client.c
index 1d0a489..1f85176 100644
--- a/console-client.c
+++ b/console-client.c
@@ -210,6 +210,7 @@
 static int client_init(struct console_client *client, const char *socket_id)
 {
 	struct sockaddr_un addr;
+	socket_path_t path;
 	ssize_t len;
 	int rc;
 
@@ -235,7 +236,8 @@
 	if (!rc)
 		return 0;
 
-	warn("Can't connect to console server");
+	console_socket_path_readable(&addr, len, path);
+	warn("Can't connect to console server '@%s'", path);
 cleanup:
 	close(client->console_sd);
 	return -1;