else
stat_fn = lstat;
+ if (add_flags & WIMLIB_ADD_IMAGE_FLAG_VERBOSE)
+ printf("Scanning `%s'\n", root_disk_path);
+
ret = (*stat_fn)(root_disk_path, &root_stbuf);
if (ret != 0) {
dest_lte = new_lookup_table_entry();
if (!dest_lte)
return WIMLIB_ERR_NOMEM;
+ dest_lte->resource_location = RESOURCE_IN_WIM;
dest_lte->wim = src_wim;
memcpy(&dest_lte->resource_entry,
&src_lte->resource_entry,