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:
parent
894eda4707
commit
d7d81e1157
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user