]> wimlib.net Git - wimlib/blobdiff - src/metadata_resource.c
Trim down 'flags' member of 'struct blob_descriptor'
[wimlib] / src / metadata_resource.c
index c187d6987dfc84d7f6da17a4259f6a6425144252..1394ef9401bcaa39f367ee93fe1a396b4f5f853a 100644 (file)
@@ -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,