fix: update frame count when allocating some

This commit is contained in:
2024-09-19 17:16:45 +02:00
parent f559e71433
commit 5ebf8ac6ab
2 changed files with 6 additions and 3 deletions

View File

@ -27,6 +27,6 @@ void kernel_main(void)
init_memory();
char *str = (char *)kalloc_frame(1);
memcpy(str, "Hello world!\n", 15);
kprintf(KERN_INFO, "%s", str);
kprintf(KERN_INFO, "%d: %s", str, str);
shell_init();
}