mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
cleanup: matching signess
This commit is contained in:
parent
49a8c786d5
commit
e9cadbe105
2
lib/cache/lvmetad.c
vendored
2
lib/cache/lvmetad.c
vendored
@ -1677,7 +1677,7 @@ int lvmetad_pv_found(struct cmd_context *cmd, const struct id *pvid, struct devi
|
|||||||
|
|
||||||
if (vg && result) {
|
if (vg && result) {
|
||||||
seqno_after = daemon_reply_int(reply, "seqno_after", -1);
|
seqno_after = daemon_reply_int(reply, "seqno_after", -1);
|
||||||
if ((seqno_after != vg->seqno) ||
|
if ((seqno_after != (int) vg->seqno) ||
|
||||||
(seqno_after != daemon_reply_int(reply, "seqno_before", -1)))
|
(seqno_after != daemon_reply_int(reply, "seqno_before", -1)))
|
||||||
log_warn("WARNING: Inconsistent metadata found for VG %s", vg->name);
|
log_warn("WARNING: Inconsistent metadata found for VG %s", vg->name);
|
||||||
}
|
}
|
||||||
|
@ -2927,7 +2927,8 @@ static void _print_man_option_desc(struct command_name *cname, int opt_enum)
|
|||||||
char buf[DESC_LINE];
|
char buf[DESC_LINE];
|
||||||
int started_cname = 0;
|
int started_cname = 0;
|
||||||
int line_count = 0;
|
int line_count = 0;
|
||||||
int di, bi = 0;
|
int bi = 0;
|
||||||
|
unsigned di;
|
||||||
|
|
||||||
if (desc[0] != '#') {
|
if (desc[0] != '#') {
|
||||||
printf("%s", desc);
|
printf("%s", desc);
|
||||||
@ -3246,7 +3247,7 @@ static void _print_man_all_positions_desc(struct command_name *cname)
|
|||||||
static void _print_desc_man(const char *desc)
|
static void _print_desc_man(const char *desc)
|
||||||
{
|
{
|
||||||
char buf[DESC_LINE] = {0};
|
char buf[DESC_LINE] = {0};
|
||||||
int di = 0;
|
unsigned di;
|
||||||
int bi = 0;
|
int bi = 0;
|
||||||
|
|
||||||
for (di = 0; di < strlen(desc); di++) {
|
for (di = 0; di < strlen(desc); di++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user