lvm2: add missing argument for yes_no_prompt() in remove_mirror_log()
PATCH 1/1 lvm2: add missing argument for yes_no_prompt() in remove_mirror_log()
Add a missing parameter, lv->name, for yes_no_prompt() in remove_mirror_log().
Signed-off-by Takahiro Yasui <[email protected]>
--- lib/metadata/mirror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/metadata/mirror.c +1 -1
@@ -1543,7 +1543,7 @@ int remove_mirror_log(struct cmd_contextreturn 0 ; }else if (yes_no_prompt ("Full resync required to convert " "inactive mirror %s to core log. " -"Proceed? [y/n]: " ) =='y' ) +"Proceed? [y/n]: " , lv->name) =='y' ) sync_percent =0 ;else return 0 ;