]> wimlib.net Git - wimlib/blobdiff - src/extract_image.c
Tweak progress messages for imagex apply
[wimlib] / src / extract_image.c
index 56c72f870e0947e7c5d05177c5f5228aa647e508..bebd1d32d71b883d6dc20cbb849cffa39c097bc9 100644 (file)
@@ -653,8 +653,10 @@ static int extract_single_image(WIMStruct *w, int image,
        if (ret != 0)
                goto out;
 
-       if (progress_func)
-               progress_func(WIMLIB_PROGRESS_MSG_APPLY_TIMESTAMPS, NULL);
+       if (progress_func) {
+               progress_func(WIMLIB_PROGRESS_MSG_APPLY_TIMESTAMPS,
+                             &args.progress);
+       }
 
        ret = for_dentry_in_tree_depth(wim_root_dentry(w),
                                       ops->apply_dentry_timestamps, &args);