]> wimlib.net Git - wimlib/blobdiff - src/ntfs-capture.c
Print each file or directory excluded
[wimlib] / src / ntfs-capture.c
index 74ae7536bda91862a7bacc8c1259095861c30ddc..03c8720af1e568686e444e2bbfe5ec72f08a92cf 100644 (file)
@@ -508,10 +508,10 @@ build_dentry_tree_ntfs_recursive(struct wim_dentry **root_p,
        int ret;
        struct wim_dentry *root;
 
        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 */
                /* Exclude a file or directory tree based on the capture
                 * configuration file */
-               if ((add_image_flags & WIMLIB_ADD_IMAGE_FLAG_VERBOSE)
+               if ((add_image_flags & WIMLIB_ADD_IMAGE_FLAG_EXCLUDE_VERBOSE)
                    && progress_func)
                {
                        union wimlib_progress_info info;
                    && progress_func)
                {
                        union wimlib_progress_info info;