1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 01:55:10 +03:00

pvresize: fix size in 'Resizing to ...' verbose message to show proper result size

This commit is contained in:
Peter Rajnoha 2014-11-25 15:16:09 +01:00
parent cd3b6070aa
commit 62f3a4d2d8
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.114 -
=====================================
Fix size in pvresize "Resizing to ..." verbose msg to show proper result size.
Version 2.02.113 - 24th November 2014
=====================================

View File

@ -650,7 +650,7 @@ int pv_resize_single(struct cmd_context *cmd,
}
log_verbose("Resizing volume \"%s\" to %" PRIu64 " sectors.",
pv_name, pv_size(pv));
pv_name, size);
if (!pv_resize(pv, vg, size))
goto_out;