From a6203657a0bf4b15017724a8212cc61a8672afa5 Mon Sep 17 00:00:00 2001 From: Alasdair G Kergon Date: Thu, 12 May 2016 01:54:09 +0100 Subject: [PATCH] lvmetad: Fix client error when socket access fails. --- lib/cache/lvmetad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cache/lvmetad.c b/lib/cache/lvmetad.c index 391cbc470..9f7bf32c9 100644 --- a/lib/cache/lvmetad.c +++ b/lib/cache/lvmetad.c @@ -178,7 +178,7 @@ int lvmetad_socket_present(void) int r; if ((r = access(socket, F_OK)) && errno != ENOENT) - log_sys_error("lvmetad_socket_present", ""); + log_sys_error("access", socket); return !r; }