Skip to contentSkip to conversation

master - lvmetad: Fix client error when socket access fails.

PATCH Alasdair Kergon 1 participant 1 message May 12, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=a6203657a0bf4b15017724a8212cc61a8672afa5
Commit:        a6203657a0bf4b15017724a8212cc61a8672afa5
Parent:        e6cafdad3608f58bc0cea6a73b16d9728fb92181
Author:        Alasdair G Kergon <[email protected]>
AuthorDate:    Thu May 12 01:54:09 2016 +0100
Committer:     Alasdair G Kergon <[email protected]>
CommitterDate: Thu May 12 01:54:09 2016 +0100

lvmetad: Fix client error when socket access fails.

---
 lib/cache/lvmetad.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/cache/lvmetad.c +1 -1
index 391cbc4..9f7bf32 100644
@@ -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;
 }