X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Funix_apply.c;h=0a2a04f46f3b94e20136e5ad3a4729b7992d908a;hp=86be081ff006cf220ec2850512c8f032deddc00d;hb=a267f3e6b9df128bd4bdf5d39b951868dd4528ab;hpb=c7616d0c686267ff9556f93e0501940bffd0679c diff --git a/src/unix_apply.c b/src/unix_apply.c index 86be081f..0a2a04f4 100644 --- a/src/unix_apply.c +++ b/src/unix_apply.c @@ -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_wim_resource_to_fd(lte, &fd, wim_resource_size(lte)); + ret = extract_full_stream_to_fd(lte, &fd); if (filedes_close(&fd) && !ret) ret = WIMLIB_ERR_WRITE; return ret;