From 17ad2b1115ef83baf59de8a7cdbfc1852bfe7ade Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Mon, 21 Feb 2011 12:26:27 +0000 Subject: Change pv_write code to work with the changes in metadata handling interface and changes in format_instance. --- tools/pvresize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/pvresize.c') diff --git a/tools/pvresize.c b/tools/pvresize.c index f347d9d3..f1870c6c 100644 --- a/tools/pvresize.c +++ b/tools/pvresize.c @@ -150,7 +150,7 @@ static int _pv_resize_single(struct cmd_context *cmd, goto out; } backup(vg); - } else if (!(pv_write(cmd, pv, NULL, INT64_C(-1)))) { + } else if (!(pv_write(cmd, pv))) { log_error("Failed to store physical volume \"%s\"", pv_name); goto out; -- cgit