}
ret = wimlib_mount_image(w, image, dir, mount_flags, additional_swms,
- num_additional_swms);
+ num_additional_swms, NULL);
if (ret != 0) {
imagex_error("Failed to mount image %d from `%s' on `%s'",
image, wimfile, dir);
return -1;
}
- ret = wimlib_unmount_image(argv[0], unmount_flags);
+ ret = wimlib_unmount_image(argv[0], unmount_flags,
+ imagex_progress_func);
if (ret != 0)
imagex_error("Failed to unmount `%s'", argv[0]);
return ret;