mirror of
git://sourceware.org/git/lvm2.git
synced 2025-12-01 08:23:49 +03:00
Fix rounding of large displayed sizes.
This commit is contained in:
@@ -64,7 +64,7 @@ static void _print(struct cmd_context *cmd, const struct device *dev,
|
||||
uint64_t size, const char *what)
|
||||
{
|
||||
log_print("%-*s [%15s] %s", max_len, dev_name(dev),
|
||||
display_size(cmd, size / 2, SIZE_SHORT), what ? : "");
|
||||
display_size(cmd, size, SIZE_SHORT), what ? : "");
|
||||
}
|
||||
|
||||
static int _check_device(struct cmd_context *cmd, struct device *dev)
|
||||
|
||||
Reference in New Issue
Block a user