mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
debug: log scanned value
Fix verbose print of scanned value for topology attribute. Result is set afterwards in sectors.
This commit is contained in:
parent
e28e22b9e1
commit
53ef14fca0
@ -799,7 +799,7 @@ static unsigned long _dev_topology_attribute(struct dev_types *dt,
|
|||||||
}
|
}
|
||||||
|
|
||||||
log_very_verbose("Device %s: %s is %lu%s.",
|
log_very_verbose("Device %s: %s is %lu%s.",
|
||||||
dev_name(dev), attribute, result, default_value ? "" : " bytes");
|
dev_name(dev), attribute, value, default_value ? "" : " bytes");
|
||||||
|
|
||||||
result = value >> SECTOR_SHIFT;
|
result = value >> SECTOR_SHIFT;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user