X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fupdate_image.c;h=b7a3abdff9c14ec64d6ac9d4ad0d142e6d396e16;hp=bd8702e2ef397041b13a139580d45ff59063f231;hb=5d3d469e410dc5f4a28814ad231336fc174cba56;hpb=349933ac7e49ee5a807396bfa27e2bf1684f4103 diff --git a/src/update_image.c b/src/update_image.c index bd8702e2..b7a3abdf 100644 --- a/src/update_image.c +++ b/src/update_image.c @@ -235,8 +235,8 @@ execute_add_command(WIMStruct *wim, goto out_destroy_inode_table; INIT_LIST_HEAD(&unhashed_streams); - wim->lookup_table->unhashed_streams = &unhashed_streams; params.lookup_table = wim->lookup_table; + params.unhashed_streams = &unhashed_streams; params.config = config; params.add_flags = add_flags; params.extra_arg = extra_arg; @@ -262,7 +262,7 @@ execute_add_command(WIMStruct *wim, * the root of each branch from a capture * source. (This will also set the root dentry * of the entire image to be unnamed.) */ - ret = set_dentry_name(branch, + ret = dentry_set_name(branch, path_basename(wim_target_path)); if (ret) goto out_ntfs_umount;