summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2022-10-11 12:35:38 -0500
committerDavid Teigland <teigland@redhat.com>2022-10-11 12:35:38 -0500
commit657df00c9615ea5abb6faf4c21f01f90de17b207 (patch)
tree62bfaf1e5a2fae507d50e17b5498223de332880b
parentfc01dd89006bc0a37351cca9332244bfa8d2f096 (diff)
downloadlvm2-657df00c9615ea5abb6faf4c21f01f90de17b207.tar.gz
lvmlockd: fix warning
-rw-r--r--daemons/lvmlockd/lvmlockd-dlm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/lvmlockd/lvmlockd-dlm.c b/daemons/lvmlockd/lvmlockd-dlm.c
index 01bec6f43..d262fa281 100644
--- a/daemons/lvmlockd/lvmlockd-dlm.c
+++ b/daemons/lvmlockd/lvmlockd-dlm.c
@@ -222,7 +222,7 @@ int lm_prepare_lockspace_dlm(struct lockspace *ls)
#define DLM_COMMS_PATH "/sys/kernel/config/dlm/cluster/comms"
#define LOCK_LINE_MAX 1024
-static int get_local_nodeid()
+static int get_local_nodeid(void)
{
struct dirent *de;
DIR *ls_dir;