]> sourceware.org Git - lvm2.git/commitdiff
lvmetad: Fix client error when socket access fails.
authorAlasdair G Kergon <agk@redhat.com>
Thu, 12 May 2016 00:54:09 +0000 (01:54 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 12 May 2016 00:54:09 +0000 (01:54 +0100)
lib/cache/lvmetad.c

index 391cbc47021cab4132ad65b17701b39e28907dba..9f7bf32c9acf3df86b93342cb4bb63d0efb8ca02 100644 (file)
@@ -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;
 }
This page took 0.039106 seconds and 5 git commands to generate.