X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fntfs-3g_capture.c;h=b6d9226276e7afe44f4d1ce3ad50a93933ad7c9a;hp=7a07cd3efe24a9a853d3dfc44c44e3fc3ca077d3;hb=e176e9731e696562bab8de7b9bd34c019deef3e8;hpb=f7e62e27ceae4cf2ad2cc74b1a97ebf3015b95eb diff --git a/src/ntfs-3g_capture.c b/src/ntfs-3g_capture.c index 7a07cd3e..b6d92262 100644 --- a/src/ntfs-3g_capture.c +++ b/src/ntfs-3g_capture.c @@ -75,11 +75,8 @@ open_ntfs_attr(ntfs_inode *ni, struct ntfs_location *loc) } int -read_ntfs_file_prefix(const struct wim_lookup_table_entry *lte, - u64 size, - consume_data_callback_t cb, - void *cb_ctx, - int _ignored_flags) +read_ntfs_file_prefix(const struct wim_lookup_table_entry *lte, u64 size, + consume_data_callback_t cb, void *cb_ctx) { struct ntfs_location *loc = lte->ntfs_loc; ntfs_volume *vol = loc->ntfs_vol; @@ -90,7 +87,7 @@ read_ntfs_file_prefix(const struct wim_lookup_table_entry *lte, int ret; u8 buf[BUFFER_SIZE]; - ni = ntfs_pathname_to_inode(vol, NULL, loc->path); + ni = ntfs_pathname_to_inode(vol, NULL, loc->path); if (!ni) { ERROR_WITH_ERRNO("Can't find NTFS inode for \"%"TS"\"", loc->path); ret = WIMLIB_ERR_NTFS_3G;