diff options
author | David Teigland <teigland@redhat.com> | 2015-05-22 12:45:42 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2015-05-28 16:36:16 -0500 |
commit | f64f3a104b775d96366d8737ee6192eff545ea05 (patch) | |
tree | 041ede3d47e27f765bac78baf760ef932a86947c | |
parent | f013bb1718fa64ccdc4741ab67f8c63800005f3c (diff) | |
download | lvm2-f64f3a104b775d96366d8737ee6192eff545ea05.tar.gz |
lvmlockd: rename socket variable
to avoid shadowing warning
-rw-r--r-- | daemons/lvmlockd/lvmlockd-client.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/daemons/lvmlockd/lvmlockd-client.h b/daemons/lvmlockd/lvmlockd-client.h index 2d450f5ad..0a3e4b2d2 100644 --- a/daemons/lvmlockd/lvmlockd-client.h +++ b/daemons/lvmlockd/lvmlockd-client.h @@ -17,11 +17,11 @@ /* Wrappers to open/close connection */ -static inline daemon_handle lvmlockd_open(const char *socket) +static inline daemon_handle lvmlockd_open(const char *sock) { daemon_info lvmlockd_info = { .path = "lvmlockd", - .socket = socket ?: LVMLOCKD_SOCKET, + .socket = sock ?: LVMLOCKD_SOCKET, .protocol = "lvmlockd", .protocol_version = 1, .autostart = 0 |