From 5069e4cefc4e226f7c9170dab02bbab0a0970da9 Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Wed, 29 Nov 2023 19:21:24 -0500 Subject: [PATCH] this better not be it. --- Part3/09_memory/kernel/kernel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Part3/09_memory/kernel/kernel.c b/Part3/09_memory/kernel/kernel.c index 39df543..28ef1db 100644 --- a/Part3/09_memory/kernel/kernel.c +++ b/Part3/09_memory/kernel/kernel.c @@ -116,7 +116,8 @@ kprint(" These are hard coded and are just examples, modify as you see fit.\n"); kprint(" for example - TEST was just added so that I could test the strlen commands.\n"); } else if (strcmp(input, "HOLES") == 0) { - print_holes(umem_head, false); + node *holes = get_holes(umem_head); + print_list( holes, false); } else if (strcmp(input, "RESULT") == 0) { node *holes = get_holes( umem_head); print_memory( umem_head, holes);