Skip to contentSkip to conversation

main - lvmlockd: fix warning

PATCH David Teigland 1 participant 1 message Oct 11, 2022

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=657df00c9615ea5abb6faf4c21f01f90de17b207
Commit:        657df00c9615ea5abb6faf4c21f01f90de17b207
Parent:        fc01dd89006bc0a37351cca9332244bfa8d2f096
Author:        David Teigland <[email protected]>
AuthorDate:    Tue Oct 11 12:35:38 2022 -0500
Committer:     David Teigland <[email protected]>
CommitterDate: Tue Oct 11 12:35:38 2022 -0500

lvmlockd: fix warning

---
 daemons/lvmlockd/lvmlockd-dlm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
daemons/lvmlockd/lvmlockd-dlm.c +1 -1
index 01bec6f43..d262fa281 100644
@@ -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;