]> wimlib.net Git - wimlib/blobdiff - src/ntfs-capture.c
Adjust capture config; refactor unix_build_dentry_tree()
[wimlib] / src / ntfs-capture.c
index 74ae7536bda91862a7bacc8c1259095861c30ddc..96650502597e6b9d20e7d4d970d1e319c34d8dd0 100644 (file)
@@ -508,7 +508,7 @@ build_dentry_tree_ntfs_recursive(struct wim_dentry **root_p,
        int ret;
        struct wim_dentry *root;
 
-       if (exclude_path(path, config, false)) {
+       if (exclude_path(path, path_len, config, false)) {
                /* Exclude a file or directory tree based on the capture
                 * configuration file */
                if ((add_image_flags & WIMLIB_ADD_IMAGE_FLAG_VERBOSE)