Commit fa6ebfbb fa6ebfbbc2e007a161f3342e044b360b6f6f95e8 by Sergey Poznyakoff

(cond_page_invalidate): Bugfix

1 parent 31f9e897
......@@ -86,7 +86,7 @@ cond_page_invalidate (size_t value)
if (page_map == NULL || page_avail == 0)
return;
for (i = 0; i < page_avail-1; i++)
for (i = 0; i < page_avail; i++)
if (page_map[i] >= value && value <= page_map[i+1])
{
page_invalidate (0);
......