diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-06-11 23:27:16 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-06-15 13:38:25 +0200 |
commit | 63bc750fecb00fc5878ca889204fc65510893778 (patch) | |
tree | f3a8280ce30308e6bd86e534df19599587ce5914 /bin/sqfs2tar/src | |
parent | d8a01253aba94759aae2bbc78e9103843f28dd78 (diff) |
libio: remove single line wrapper functions
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'bin/sqfs2tar/src')
-rw-r--r-- | bin/sqfs2tar/src/sqfs2tar.c | 4 |
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; |