]> wimlib.net Git - wimlib/blobdiff - src/unix_apply.c
update; add lzms_decompress() stub
[wimlib] / src / unix_apply.c
index ca0f485c4177582957a81e9e7ede0acd6b60bff9..152361b01432c01bf5f7fe5865182540bf7e6a5b 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_stream_to_fd(lte, &fd, lte->size);
        if (filedes_close(&fd) && !ret)
                ret = WIMLIB_ERR_WRITE;
        return ret;