diff options
author | Alasdair G Kergon <agk@redhat.com> | 2016-05-12 01:54:09 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2016-05-12 01:54:09 +0100 |
commit | a6203657a0bf4b15017724a8212cc61a8672afa5 (patch) | |
tree | 06b6ba922ac2c73789538048e92a58621af07d29 | |
parent | e6cafdad3608f58bc0cea6a73b16d9728fb92181 (diff) | |
download | lvm2-a6203657a0bf4b15017724a8212cc61a8672afa5.tar.gz |
lvmetad: Fix client error when socket access fails.
-rw-r--r-- | lib/cache/lvmetad.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |