wok-current rev 23766

qemu/cloop: tiny fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 06 19:55:46 2020 +0000 (2020-05-06)
parents c6796c6304f6
children 463f54b4a688
files qemu/stuff/cloop.u
line diff
     1.1 --- a/qemu/stuff/cloop.u	Wed May 06 09:10:52 2020 +0000
     1.2 +++ b/qemu/stuff/cloop.u	Wed May 06 19:55:46 2020 +0000
     1.3 @@ -185,7 +185,7 @@
     1.4  +    size_t src_pos;
     1.5  +    size_t dest_pos;
     1.6  +    uint64_t memlimit;
     1.7 -+    uint32_t outlen = s->zstream.total_out;
     1.8 ++    uint32_t outlen = s->zstream.avail_out;
     1.9  +
    1.10  +    switch (flag) {
    1.11  +    case CLOOP_COMPRESSOR_ZLIB: