]> wimlib.net Git - wimlib/blobdiff - src/ntfs-capture.c
wimlib_add_image(): Fewer parameters
[wimlib] / src / ntfs-capture.c
index a9ad174a3ef278a214b9304f21c97c2e4ee8e380..5d8ebcf8c27e5473292ff925c09aa42f5dc41780 100644 (file)
@@ -581,8 +581,6 @@ out:
 WIMLIBAPI int wimlib_add_image_from_ntfs_volume(WIMStruct *w,
                                                const char *device,
                                                const char *name,
 WIMLIBAPI int wimlib_add_image_from_ntfs_volume(WIMStruct *w,
                                                const char *device,
                                                const char *name,
-                                               const char *description,
-                                               const char *flags_element,
                                                const char *config_str,
                                                size_t config_len,
                                                int flags)
                                                const char *config_str,
                                                size_t config_len,
                                                int flags)
@@ -591,9 +589,8 @@ WIMLIBAPI int wimlib_add_image_from_ntfs_volume(WIMStruct *w,
                ERROR("Cannot dereference files when capturing directly from NTFS");
                return WIMLIB_ERR_INVALID_PARAM;
        }
                ERROR("Cannot dereference files when capturing directly from NTFS");
                return WIMLIB_ERR_INVALID_PARAM;
        }
-       return do_add_image(w, device, name, description, flags_element,
-                           config_str, config_len, flags, build_dentry_tree_ntfs,
-                           &w->ntfs_vol);
+       return do_add_image(w, device, name, config_str, config_len, flags,
+                           build_dentry_tree_ntfs, &w->ntfs_vol);
 }
 
 #else /* WITH_NTFS_3G */
 }
 
 #else /* WITH_NTFS_3G */