diff options
Diffstat (limited to 'src/opk.c')
-rw-r--r-- | src/opk.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -76,7 +76,8 @@ opkg_opk_opk_init(const char *file_name) } /* Initialize outer gzip decompressor. */ - opk->outer_gzip = opkg_opk_gzip_init(&_opkg_opk_opk_file_read, opk); + opk->outer_gzip = opkg_opk_gzip_init_read(&_opkg_opk_opk_file_read, + opk); if (opk->outer_gzip == NULL) { fputs(_("Error: Failed to initialize\n"), stderr); goto error2; @@ -146,7 +147,7 @@ _opkg_opk_opk_init_inner(struct opkg_opk_opk *opk, const char *member) } /* Initialize inner gzip decompressor. */ - opk->inner_gzip = opkg_opk_gzip_init( + opk->inner_gzip = opkg_opk_gzip_init_read( (opkg_opk_gzip_read_func *) &opkg_opk_ustar_read, opk->outer_ustar); if (opk->inner_gzip == NULL) { |