diff options
author | Daiki Ueno <dueno@redhat.com> | 2017-06-12 11:09:43 +0200 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2017-06-12 11:30:42 +0200 |
commit | efe6dc56c3951c301dda1b548d4cbcd02e074462 (patch) | |
tree | 95bf26274ba4208b8d6e7af600ebffa104660387 /p11-kit | |
parent | bf3c1a9d8e4ace4c3a92b4af56e4b62657907522 (diff) |
debug: Add p11_debug_err to prevent use of strerror
Diffstat (limited to 'p11-kit')
-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 9eae883..b46a27c 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_debug ("failed to connect to socket: %s", strerror (errno)); + p11_debug_err (errno, "failed to connect to socket"); close (fd); return CKR_DEVICE_REMOVED; } |