X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwin32_capture.c;h=71c9cb4ce98215222224ae2d108621c71309cd3f;hb=4efdef43a8bb9e821f39572e1c9086e3f069ac7c;hp=6f748a36a757522c5533fec97541c9f3906945ec;hpb=864db0e0929d60b33b8b0df35ccb68d43e7f8684;p=wimlib diff --git a/src/win32_capture.c b/src/win32_capture.c index 6f748a36..71c9cb4c 100644 --- a/src/win32_capture.c +++ b/src/win32_capture.c @@ -1218,7 +1218,7 @@ again: * only 1 link and refuse to hard link them. This is because Windows * has a bug where it can return duplicate File IDs for files and * directories on the FAT filesystem. */ - ret = inode_table_new_dentry(¶ms->inode_table, + ret = inode_table_new_dentry(params->inode_table, path_basename_with_len(path, path_num_chars), ((u64)file_info.nFileIndexHigh << 32) | (u64)file_info.nFileIndexLow, @@ -1252,7 +1252,7 @@ again: && (vol_flags & FILE_PERSISTENT_ACLS)) { ret = win32_get_security_descriptor(hFile, path, inode, - ¶ms->sd_set, state, + params->sd_set, state, params->add_flags); if (ret) goto out;