* [PATCH] lvm2: add missing argument for yes_no_prompt() in remove_mirror_log()
@ 2010-06-24 16:37 Takahiro Yasui
0 siblings, 0 replies; only message in thread
From: Takahiro Yasui @ 2010-06-24 16:37 UTC (permalink / raw)
To: lvm-devel
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-06-24 16:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-24 16:37 [PATCH] lvm2: add missing argument for yes_no_prompt() in remove_mirror_log() Takahiro Yasui
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.