This commit is contained in:
Jonathan Turner 2023-11-29 20:48:46 -05:00
parent e01b340d77
commit 99b1875cde

View File

@ -179,7 +179,7 @@ void print_memory(node *umem_head, node *hole_head) {
u32 total_allocated = total_memory - free_memory;
char a[16];
int_to_ascii( total_memory+1/1024, a, 16);
int_to_ascii( (total_memory+1/1024), a, 16);
kprint("Total Physical Memory: ");
kprint(a);
kprint("kb\n");
@ -203,7 +203,7 @@ void print_memory(node *umem_head, node *hole_head) {
kprint("\n");
char e[16];
int_to_ascii( num_of_gaps/1024, e, 16);
int_to_ascii( num_of_gaps, e, 16);
kprint("Number of Free Gaps: ");
kprint(e);
kprint("\n");