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

cleanup: show better messages

This commit is contained in:
Zdenek Kabelac 2014-07-22 17:29:53 +02:00
parent 894eda4707
commit d7d81e1157

View File

@ -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;
}