aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/bcheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bcheck.c b/lib/bcheck.c
index ea5b233..00b90fe 100644
--- a/lib/bcheck.c
+++ b/lib/bcheck.c
@@ -613,7 +613,7 @@ int __bound_delete_region(void *p)
}
}
/* last page */
- page = get_page(t2_end);
+ page = get_page(t1_end);
e2 = (BoundEntry *)((char *)page + t2_end);
for(e=page;e<e2;e++) {
e->start = 0;