t/zbd: fix wrong units in test case #37
[fio.git] / t / zbd / test-zbd-support
index 80763561e80de94d055620fb0ccfdece6a9f9636..4d8e905d069faaef4096bd1a4f3966eaba19997f 100755 (executable)
@@ -828,7 +828,7 @@ test37() {
     local bs off size capacity
 
     prep_write
-    capacity=$(total_zone_capacity 1 $first_sequential_zone_sector $dev)
+    capacity=$(total_zone_capacity 1 $((first_sequential_zone_sector*512)) $dev)
     if [ "$first_sequential_zone_sector" = 0 ]; then
        off=0
     else