X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fmetadata_resource.c;h=1394ef9401bcaa39f367ee93fe1a396b4f5f853a;hb=89786123beb6033f84fb2f2934211c3aeb1cc8c6;hp=c187d6987dfc84d7f6da17a4259f6a6425144252;hpb=3de1ec66f778edda19865482d685bc6f4e17faf7;p=wimlib diff --git a/src/metadata_resource.c b/src/metadata_resource.c index c187d698..1394ef94 100644 --- a/src/metadata_resource.c +++ b/src/metadata_resource.c @@ -244,7 +244,9 @@ write_metadata_resource(WIMStruct *wim, int image, int write_resource_flags) /* Write the metadata resource to the output WIM using the proper * compression type, in the process updating the blob descriptor for the * metadata resource. */ - ret = write_wim_resource_from_buffer(buf, len, WIM_RESHDR_FLAG_METADATA, + ret = write_wim_resource_from_buffer(buf, + len, + true, &wim->out_fd, wim->out_compression_type, wim->out_chunk_size,