wok-6.x diff linux-cloop/stuff/cloop.u @ rev 22852

updated glances (3.1.0 -> 3.1.3)
author Hans-G?nter Theisgen
date Mon Feb 17 14:07:08 2020 +0100 (2020-02-17)
parents 8fe10eb4f215
children 36e9a3dcd5de
line diff
     1.1 --- a/linux-cloop/stuff/cloop.u	Sun Jan 17 14:10:13 2016 +0100
     1.2 +++ b/linux-cloop/stuff/cloop.u	Mon Feb 17 14:07:08 2020 +0100
     1.3 @@ -68,7 +68,7 @@
     1.4  +		for (i = 0, j = sizeof(struct cloop_head); i < n; i++) {
     1.5  +			offsets[i].offset = j;
     1.6  +			if (offsets[i].size & 0x80000000) {
     1.7 -+				unsigned long k = offset[i].size & 0x7FFFFFFF;
     1.8 ++				unsigned long k = offsets[i].size & 0x7FFFFFFF;
     1.9  +				offsets[i].offset = offsets[k].offset;
    1.10  +				offsets[i].size = offsets[k].size;
    1.11  +			}