1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +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:
Zdenek Kabelac 2015-03-27 13:43:24 +01:00
parent e28e22b9e1
commit 53ef14fca0

View File

@ -799,7 +799,7 @@ static unsigned long _dev_topology_attribute(struct dev_types *dt,
}
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;