]> wimlib.net Git - wimlib/blobdiff - src/unix_apply.c
Add extract_full_stream_to_fd()
[wimlib] / src / unix_apply.c
index ca0f485c4177582957a81e9e7ede0acd6b60bff9..0a2a04f46f3b94e20136e5ad3a4729b7992d908a 100644 (file)
@@ -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, lte->size);
+       ret = extract_full_stream_to_fd(lte, &fd);
        if (filedes_close(&fd) && !ret)
                ret = WIMLIB_ERR_WRITE;
        return ret;