Fix wrong device size status reports in cryptsetup and integritysetup

In version 2.8.0 the status output was modified to strictly use units and also bytes device size was added.

Unfortunately, the size was wrongly calculated if sector size was different than 512-byte default.

Fixes: #972 (closed)

Merge request reports

Loading