[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] [PATCH] 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 <tyasui redhat com>
---
 lib/metadata/mirror.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: LVM2-2.02.68/lib/metadata/mirror.c
===================================================================
--- LVM2-2.02.68.orig/lib/metadata/mirror.c
+++ LVM2-2.02.68/lib/metadata/mirror.c
@@ -1543,7 +1543,7 @@ int remove_mirror_log(struct cmd_context
 		return 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]