From 657df00c9615ea5abb6faf4c21f01f90de17b207 Mon Sep 17 00:00:00 2001 From: David Teigland Date: Tue, 11 Oct 2022 12:35:38 -0500 Subject: [PATCH] lvmlockd: fix warning --- daemons/lvmlockd/lvmlockd-dlm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;