summaryrefslogtreecommitdiff
path: root/kc/core/vm_tree.c
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2022-01-02 15:31:16 +0000
committerAda Christine <adachristine18@gmail.com>2022-01-02 15:31:16 +0000
commit88551ff4da1db1c82adb56cc04e0c872a8e7fd18 (patch)
treee6551124b1e82df46d8bc37cd930f4808815c2f1 /kc/core/vm_tree.c
parent6fee34f34c046617245fb33943be552c1c5a4b82 (diff)
bug in vm_tree.c; adjustments to boot data object space
Diffstat (limited to 'kc/core/vm_tree.c')
-rw-r--r--kc/core/vm_tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kc/core/vm_tree.c b/kc/core/vm_tree.c
index b0a0043..0837220 100644
--- a/kc/core/vm_tree.c
+++ b/kc/core/vm_tree.c
@@ -296,10 +296,10 @@ struct vm_tree_node *vmn_successor_node(
return vmn_min(N->right);
}
- struct vm_tree_node *p = n->parent;
- while (p && n == p->right)
+ struct vm_tree_node *p = N->parent;
+ while (p && N == p->right)
{
- n = p;
+ N = p;
p = p->parent;
}