]> wimlib.net Git - wimlib/blobdiff - src/write.c
Add extract_full_stream_to_fd()
[wimlib] / src / write.c
index 7302193034865cd5acca1a7b716deed0cfa4c2d5..42f8ecd91e8b753b34a651948c678c741c518cb1 100644 (file)
@@ -723,7 +723,7 @@ write_stream_uncompressed(struct wim_lookup_table_entry *lte,
        if (filedes_seek(out_fd, begin_offset) == -1)
                return 0;
 
-       ret = extract_stream_to_fd(lte, out_fd, lte->size);
+       ret = extract_full_stream_to_fd(lte, out_fd);
        if (ret) {
                /* Error reading the uncompressed data.  */
                if (out_fd->offset == begin_offset &&