summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mkfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkfs.c b/mkfs.c
index a129ec48..e46f1559 100644
--- a/mkfs.c
+++ b/mkfs.c
@@ -1384,6 +1384,8 @@ int main(int ac, char **av)
fprintf(stderr, "unable to zero the output file\n");
exit(1);
}
+ /* our "device" is the new image file */
+ dev_block_count = block_count;
}
ssd = is_ssd(file);