diff options
author | Christian Cunningham <cc@localhost> | 2022-08-20 16:22:55 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-08-20 16:22:55 -0700 |
commit | 2c859ced8adb5a9876d39b34471400a43516b036 (patch) | |
tree | 69ed671a695d4100972833416f4240e9bdbb4abb /src/kernel.rs | |
parent | 0090db3c3cc7eb4b468333b6f738383c5c5e5f5d (diff) |
Return result of initialization
Diffstat (limited to 'src/kernel.rs')
-rw-r--r-- | src/kernel.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel.rs b/src/kernel.rs index 28d8f87..3d93e37 100644 --- a/src/kernel.rs +++ b/src/kernel.rs @@ -40,7 +40,7 @@ use crate::mem::alloc::alloc; /// the regular main. unsafe fn kernel_init() -> ! { console().init().unwrap(); - alloc().init(); + alloc().init().unwrap(); kernel_main() } |