summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/common.pattern
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/common.pattern')
-rw-r--r--tests/qemu-iotests/common.pattern2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/common.pattern b/tests/qemu-iotests/common.pattern
index ddfbca1b76..34f4a8dc9b 100644
--- a/tests/qemu-iotests/common.pattern
+++ b/tests/qemu-iotests/common.pattern
@@ -18,7 +18,7 @@
function do_is_allocated() {
local start=$1
- local size=$(( $2 / 512))
+ local size=$2
local step=$3
local count=$4