diff --git a/Part3/09_memory/kernel/kernel.c b/Part3/09_memory/kernel/kernel.c index 9895332..bc39b7c 100644 --- a/Part3/09_memory/kernel/kernel.c +++ b/Part3/09_memory/kernel/kernel.c @@ -235,8 +235,8 @@ node* get_holes(node* umem_head) { } void begin_output_example() { - node* umem_head = NULL; // static persistent head variable for contiguous block allocations - node* holes_head = NULL; + static node* umem_head = NULL; // static persistent head variable for contiguous block allocations + static node* holes_head = NULL; holes_head = get_holes(emum_head); kprint("Jonathan Turner - S02\n");