aboutsummaryrefslogtreecommitdiff
path: root/bin/sqfs2tar/src
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sqfs2tar/src')
-rw-r--r--bin/sqfs2tar/src/sqfs2tar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sqfs2tar/src/sqfs2tar.c b/bin/sqfs2tar/src/sqfs2tar.c
index 43f9e78..fd8d5fa 100644
--- a/bin/sqfs2tar/src/sqfs2tar.c
+++ b/bin/sqfs2tar/src/sqfs2tar.c
@@ -63,7 +63,7 @@ static int terminate_archive(void)
memset(buffer, '\0', sizeof(buffer));
- return ostream_append(out_file, buffer, sizeof(buffer));
+ return out_file->append(out_file, buffer, sizeof(buffer));
}
static sqfs_tree_node_t *tree_merge(sqfs_tree_node_t *lhs,
@@ -253,7 +253,7 @@ int main(int argc, char **argv)
if (terminate_archive())
goto out;
- if (ostream_flush(out_file))
+ if (out_file->flush(out_file))
goto out;
status = EXIT_SUCCESS;