feature: kmalloc kfree and krealloc are good

This commit is contained in:
2024-09-21 12:17:27 +02:00
parent 0467c45bf0
commit 943f2beab9
15 changed files with 607 additions and 23 deletions

View File

@ -115,7 +115,8 @@ void shell_init(void)
}
}
if (invalid && screen->line[0])
kprintf("invalid command: %s\n", screen->line);
kprintf(KERN_WARNING "invalid command: %s\n",
screen->line);
memset(screen->line, '\0', sizeof(screen->line));
}
}