summaryrefslogtreecommitdiff
path: root/kernel/init
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-05-01 18:38:22 +0200
committerAnton Kling <anton@kling.gg>2024-05-01 18:38:59 +0200
commitfaebb71b8a84e33f4f2b3f8f70f845011483c5c5 (patch)
tree6df89af1c0eb0925a614504cf93eb3c9434202e5 /kernel/init
parent44e18bb63daa932ed844591de4d2dbb3777d63f7 (diff)
Kernel/Keyboard: Only write to buffer after it is initialized
Diffstat (limited to 'kernel/init')
-rw-r--r--kernel/init/kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/init/kernel.c b/kernel/init/kernel.c
index 0a2243d..090e03f 100644
--- a/kernel/init/kernel.c
+++ b/kernel/init/kernel.c
@@ -85,7 +85,7 @@ void kernel_main(u32 kernel_end, unsigned long magic, unsigned long addr,
install_keyboard();
klog("PS2 Keyboard driver installed", LOG_SUCCESS);
-global_socket_init();
+ global_socket_init();
vfs_mount("/dev", devfs_mount());
assert(ahci_init());