mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
tiny tidying
This commit is contained in:
parent
8b46b545c6
commit
62ef058497
@ -141,10 +141,8 @@ void _print(struct device *dev, uint64_t size, char *what)
|
||||
char *dummy = display_size(size / 2, SIZE_SHORT);
|
||||
const char *name = dev_name(dev);
|
||||
|
||||
if (!what) {
|
||||
|
||||
if (!what)
|
||||
what = "";
|
||||
}
|
||||
|
||||
log_print("%-*s [%15s] %s", max_len, name, dummy, what);
|
||||
dbg_free(dummy);
|
||||
|
Loading…
Reference in New Issue
Block a user