aboutsummaryrefslogtreecommitdiff
path: root/lib/common/src
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common/src')
-rw-r--r--lib/common/src/data_reader_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common/src/data_reader_dump.c b/lib/common/src/data_reader_dump.c
index 29043f8..8f38bd2 100644
--- a/lib/common/src/data_reader_dump.c
+++ b/lib/common/src/data_reader_dump.c
@@ -26,7 +26,7 @@ int sqfs_data_reader_dump(const char *name, sqfs_data_reader_t *data,
diff = (filesz < block_size) ? filesz : block_size;
if (SQFS_IS_SPARSE_BLOCK(inode->extra[i])) {
- if (ostream_append_sparse(fp, diff))
+ if (fp->append(fp, NULL, diff))
return -1;
} else {
err = sqfs_data_reader_get_block(data, inode, i,