diff options
Diffstat (limited to 'mkfs/mkfs.c')
-rw-r--r-- | mkfs/mkfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mkfs/mkfs.c b/mkfs/mkfs.c index e72b669..f1c1f1b 100644 --- a/mkfs/mkfs.c +++ b/mkfs/mkfs.c @@ -18,7 +18,7 @@ static int process_file(data_writer_t *data, tree_node_t *n, bool quiet) return -1; } - ret = write_data_from_fd(data, n->data.file, infd); + ret = write_data_from_fd(data, n->data.file, infd, 0); close(infd); return ret; @@ -172,7 +172,7 @@ int main(int argc, char **argv) super.bytes_used += ret; } - data = data_writer_create(&super, cmp, outfd); + data = data_writer_create(&super, cmp, outfd, opt.devblksz); if (data == NULL) goto out_cmp; |