]> wimlib.net Git - wimlib/blobdiff - src/win32.c
Adjust capture config; refactor unix_build_dentry_tree()
[wimlib] / src / win32.c
index 3925ca56a458d375d6ed11f55acae89f3e102954..4e49654880be1b6ee8a88aaa949cf2a9546fb8fd 100644 (file)
@@ -745,7 +745,7 @@ win32_build_dentry_tree_recursive(struct wim_dentry **root_ret,
        u64 file_size;
        int ret = 0;
 
-       if (exclude_path(path, config, true)) {
+       if (exclude_path(path, path_num_chars, config, true)) {
                if (add_image_flags & WIMLIB_ADD_IMAGE_FLAG_ROOT) {
                        ERROR("Cannot exclude the root directory from capture");
                        ret = WIMLIB_ERR_INVALID_CAPTURE_CONFIG;