summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/gunzip.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/gunzip.c b/lib/gunzip.c
index 6d65ccccffa..bc746d655e6 100644
--- a/lib/gunzip.c
+++ b/lib/gunzip.c
@@ -232,9 +232,8 @@ int gzwrite(unsigned char *src, int len,
gzwrite_progress(iteration++,
totalfilled,
szexpected);
- blocks_written = dev->block_write(dev, outblock,
- writeblocks,
- writebuf);
+ blocks_written = blk_dwrite(dev, outblock,
+ writeblocks, writebuf);
outblock += blocks_written;
if (ctrlc()) {
puts("abort\n");