mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-24 06:04:19 +03:00
Fix a few compile warnings.
clvmd-command.c:84:2: warning: implicit declaration of function ‘init_test’ lvm-functions.c:141:3: warning: too many arguments for format
This commit is contained in:
parent
9e1376e5a1
commit
e01642db66
@ -57,6 +57,7 @@
|
||||
#include "clvmd-comms.h"
|
||||
#include "clvm.h"
|
||||
#include "clvmd.h"
|
||||
#include "lvm-globals.h"
|
||||
#include "lvm-functions.h"
|
||||
|
||||
#include "locking.h"
|
||||
|
@ -132,7 +132,7 @@ static const char *decode_flags(unsigned char flags)
|
||||
static char buf[128];
|
||||
int len;
|
||||
|
||||
len = sprintf(buf, "0x%x ( %s%s%s%s%s)", flags,
|
||||
len = sprintf(buf, "0x%x ( %s%s%s%s%s%s)", flags,
|
||||
flags & LCK_PARTIAL_MODE ? "PARTIAL_MODE|" : "",
|
||||
flags & LCK_MIRROR_NOSYNC_MODE ? "MIRROR_NOSYNC|" : "",
|
||||
flags & LCK_DMEVENTD_MONITOR_MODE ? "DMEVENTD_MONITOR|" : "",
|
||||
|
Loading…
x
Reference in New Issue
Block a user