diff options
author | Daiki Ueno <dueno@redhat.com> | 2017-02-21 15:50:53 +0100 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2017-02-21 16:16:06 +0100 |
commit | eb65a85a4abfbab489f271c9f074409ba46ce8f5 (patch) | |
tree | 897274100c1437262fa1da8d3b88e849912fc83f | |
parent | c65752d596e69f48ebe67694cfb2a91697a676bf (diff) |
rpc: Make it less verbose about connection failure
The connection failure here is not fatal. Use p11_debug() instead of
p11_message().
-rw-r--r-- | p11-kit/rpc-transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-kit/rpc-transport.c b/p11-kit/rpc-transport.c index d8f0cda..9eae883 100644 --- a/p11-kit/rpc-transport.c +++ b/p11-kit/rpc-transport.c @@ -1065,7 +1065,7 @@ rpc_unix_connect (p11_rpc_client_vtable *vtable, } if (connect (fd, (struct sockaddr *)&run->sa, sizeof (run->sa)) < 0) { - p11_message_err (errno, "failed to connect to socket"); + p11_debug ("failed to connect to socket: %s", strerror (errno)); close (fd); return CKR_DEVICE_REMOVED; } |