X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Funix_apply.c;h=21a804a59424bbfa82b8274b0ed4b9a690596b11;hp=152361b01432c01bf5f7fe5865182540bf7e6a5b;hb=5d3d469e410dc5f4a28814ad231336fc174cba56;hpb=3ffb2cde078ae8f62d542ab89166e1059c13d758 diff --git a/src/unix_apply.c b/src/unix_apply.c index 152361b0..21a804a5 100644 --- a/src/unix_apply.c +++ b/src/unix_apply.c @@ -29,9 +29,9 @@ #include "wimlib/apply.h" #include "wimlib/error.h" -#include "wimlib/lookup_table.h" #include "wimlib/resource.h" #include "wimlib/timestamp.h" +#include "wimlib/unix_data.h" #include #include @@ -122,7 +122,7 @@ unix_extract_unnamed_stream(file_spec_t file, if (raw_fd < 0) return WIMLIB_ERR_OPEN; filedes_init(&fd, raw_fd); - ret = extract_stream_to_fd(lte, &fd, lte->size); + ret = extract_full_stream_to_fd(lte, &fd); if (filedes_close(&fd) && !ret) ret = WIMLIB_ERR_WRITE; return ret;