master - cleanup: show better messages
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=d7d81e11574baad841def2fc1efb7a22ea44cd3e Commit: d7d81e11574baad841def2fc1efb7a22ea44cd3e Parent: 894eda4707dbcf9e160922d95621703c0fa58f94 Author: Zdenek Kabelac <[email protected]> AuthorDate: Tue Jul 22 17:29:53 2014 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Tue Jul 22 22:41:40 2014 +0200
cleanup: show better messages
--- lib/metadata/cache_manip.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
lib/metadata/cache_manip.c +2 -2
@@ -41,8 +41,8 @@ int update_cache_pool_params(struct volume_group *vg, unsigned attr, }if (*chunk_size & (DM_CACHE_MIN_DATA_BLOCK_SIZE -1 )) { -log_error ("Chunk size must be a multiple of %u sectors." , -DM_CACHE_MIN_DATA_BLOCK_SIZE ); +log_error ("Chunk size must be a multiple of %s." , +display_size (vg->cmd,DM_CACHE_MIN_DATA_BLOCK_SIZE ));return 0 ; }