X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fresource.c;h=48f54804576a3d68fdb25d308fe4d8d26dc61e01;hp=6ca59c917f3bb272dde54a2c5effcf06ae570a03;hb=2a7e6a7d014689899c90a926a095a53753488967;hpb=81a608ecc78f13a32a69c6185fdacdcf30177ddd diff --git a/src/resource.c b/src/resource.c index 6ca59c91..48f54804 100644 --- a/src/resource.c +++ b/src/resource.c @@ -1015,6 +1015,7 @@ int read_metadata_resource(FILE *fp, int wim_ctype, struct image_metadata *imd) ret = link_groups_free_duplicate_data(lgt); if (ret != 0) goto out_free_lgt; + DEBUG("Done reading image metadata"); imd->lgt = lgt; imd->security_data = sd; @@ -1090,6 +1091,9 @@ int write_metadata_resource(WIMStruct *w) if (ret != 0) return ret; + DEBUG("Updating metadata lookup table entry (size %zu)", + metadata_original_size); + /* Update the lookup table entry, including the hash and output resource * entry fields, for this image's metadata resource. */ lte = wim_metadata_lookup_table_entry(w);