X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fntfs-apply.c;h=7522ec898f9e6aada30cde4fde4ea33d9eddecc7;hp=61199b81ac3c154220f8738c1de13a78f5e7f018;hb=3cf06a471de65b5e69b44c41b95b1bbfb49ab55f;hpb=bde99a849d3e7a479cb04a4e16e405b0c2f022dd diff --git a/src/ntfs-apply.c b/src/ntfs-apply.c index 61199b81..7522ec89 100644 --- a/src/ntfs-apply.c +++ b/src/ntfs-apply.c @@ -600,10 +600,16 @@ int wim_apply_dentry_ntfs(struct dentry *dentry, void *arg) if (inode_unnamed_lte_resolved(dentry->d_inode)) return 0; + DEBUG("Applying dentry `%s' to NTFS", dentry->full_path_utf8); - if (extract_flags & WIMLIB_EXTRACT_FLAG_VERBOSE) - puts(dentry->full_path_utf8); + if ((extract_flags & WIMLIB_EXTRACT_FLAG_VERBOSE) && + args->progress_func) + { + args->progress.extract.cur_path = dentry->full_path_utf8; + args->progress_func(WIMLIB_PROGRESS_MSG_EXTRACT_DENTRY, + &args->progress); + } if (dentry_is_root(dentry)) return wim_apply_root_dentry_ntfs(dentry, vol, w);