X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Funix_apply.c;h=dd2536296790f3e84006c6cc2976914dfc5e1ad4;hp=3f613537f94578776c3c8125de36d7ce9af7931b;hb=c48e2f84645abe34faec4994605d7a7b3b451672;hpb=3df2989aaef4c627f4fea630859ae9f72e9c307e diff --git a/src/unix_apply.c b/src/unix_apply.c index 3f613537..dd253629 100644 --- a/src/unix_apply.c +++ b/src/unix_apply.c @@ -775,13 +775,11 @@ unix_extract(struct list_head *dentry_list, struct apply_ctx *_ctx) /* Extract nonempty regular files and symbolic links. */ - struct read_blob_list_callbacks cbs = { - .begin_blob = unix_begin_extract_blob, - .begin_blob_ctx = ctx, - .consume_chunk = unix_extract_chunk, - .consume_chunk_ctx = ctx, - .end_blob = unix_end_extract_blob, - .end_blob_ctx = ctx, + struct read_blob_callbacks cbs = { + .begin_blob = unix_begin_extract_blob, + .consume_chunk = unix_extract_chunk, + .end_blob = unix_end_extract_blob, + .ctx = ctx, }; ret = extract_blob_list(&ctx->common, &cbs); if (ret)