diff --git a/kernel/trunk/blkdev/disk_cache.inc b/kernel/trunk/blkdev/disk_cache.inc index 565a6d5881..45d51b4ef2 100644 --- a/kernel/trunk/blkdev/disk_cache.inc +++ b/kernel/trunk/blkdev/disk_cache.inc @@ -512,7 +512,7 @@ disk_init_cache: push edi mov edi, [esi+DISK.SysCache.pointer] - lea ecx, [ecx*3] + lea ecx, [(ecx+1)*3] xor eax, eax rep stosd pop edi @@ -527,7 +527,7 @@ disk_init_cache: push edi mov edi, [esi+DISK.AppCache.pointer] - lea ecx, [ecx*3] + lea ecx, [(ecx+1)*3] xor eax, eax rep stosd pop edi