]> wimlib.net Git - wimlib/blobdiff - src/unix_capture.c
capture_common.c: Cleanup (mostly comments)
[wimlib] / src / unix_capture.c
index c0aa195066e5ea3f6acf767821e2ba8e1f4551dd..38adb1c5def8b566e1fba24a633c935d2872cf86 100644 (file)
@@ -209,9 +209,9 @@ unix_build_dentry_tree_recursive(struct wim_dentry **root_ret,
        struct wim_inode *inode = NULL;
        struct stat stbuf;
 
-       if (exclude_path(path + params->capture_root_nchars,
-                        path_len - params->capture_root_nchars,
-                        params->config))
+       if (should_exclude_path(path + params->capture_root_nchars,
+                               path_len - params->capture_root_nchars,
+                               params->config))
        {
                ret = 0;
                goto out_progress;