1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

lvmlockd: fix warning

This commit is contained in:
David Teigland 2022-10-11 12:35:38 -05:00
parent fc01dd8900
commit 657df00c96

View File

@ -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;