diff --git a/lib/metadata/metadata.c b/lib/metadata/metadata.c index c79f223db..279043b51 100644 --- a/lib/metadata/metadata.c +++ b/lib/metadata/metadata.c @@ -4157,7 +4157,7 @@ static struct volume_group *_vg_lock_and_read(struct cmd_context *cmd, const cha uint64_t status_flags, uint32_t misc_flags) { struct volume_group *vg = NULL; - int consistent = 1; + int consistent = 1; int consistent_in; uint32_t failure = 0; int already_locked; @@ -4279,7 +4279,7 @@ bad: * *consistent = 1. */ struct volume_group *vg_read(struct cmd_context *cmd, const char *vg_name, - const char *vgid, uint32_t flags) + const char *vgid, uint32_t flags) { uint64_t status = UINT64_C(0); uint32_t lock_flags = LCK_VG_READ; diff --git a/tools/pvdisplay.c b/tools/pvdisplay.c index 198267c5e..34ec3d543 100644 --- a/tools/pvdisplay.c +++ b/tools/pvdisplay.c @@ -36,18 +36,18 @@ static int _pvdisplay_single(struct cmd_context *cmd, return ret; } - /* + /* * Replace possibly incomplete PV structure with new one * allocated in vg_read_internal() path. */ - if (!(pvl = find_pv_in_vg(vg, pv_name))) { - log_error("Unable to find \"%s\" in volume group \"%s\"", - pv_name, vg->name); - ret = ECMD_FAILED; - goto out; - } + if (!(pvl = find_pv_in_vg(vg, pv_name))) { + log_error("Unable to find \"%s\" in volume group \"%s\"", + pv_name, vg->name); + ret = ECMD_FAILED; + goto out; + } - pv = pvl->pv; + pv = pvl->pv; } if (is_orphan(pv))