All of lore.kernel.org
 help / color / mirror / Atom feed
* main - lvmlockd: fix warning
@ 2022-10-11 17:36 David Teigland
  0 siblings, 0 replies; only message in thread
From: David Teigland @ 2022-10-11 17:36 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=657df00c9615ea5abb6faf4c21f01f90de17b207
Commit:        657df00c9615ea5abb6faf4c21f01f90de17b207
Parent:        fc01dd89006bc0a37351cca9332244bfa8d2f096
Author:        David Teigland <teigland@redhat.com>
AuthorDate:    Tue Oct 11 12:35:38 2022 -0500
Committer:     David Teigland <teigland@redhat.com>
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(-)

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;


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-11 17:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-11 17:36 main - lvmlockd: fix warning David Teigland

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.