From eb65a85a4abfbab489f271c9f074409ba46ce8f5 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Tue, 21 Feb 2017 15:50:53 +0100 Subject: rpc: Make it less verbose about connection failure The connection failure here is not fatal. Use p11_debug() instead of p11_message(). --- p11-kit/rpc-transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.1