diff --git a/kernel/lib.rs b/kernel/lib.rs index 2bdf7b2ed5f1b8a68aa82c1bad01bec0d518ecb9..8a1a8b18765c1fa6032a52ea21975f05625bdbf6 100644 --- a/kernel/lib.rs +++ b/kernel/lib.rs @@ -97,9 +97,9 @@ pub extern fn userspace_init() { assert_eq!(syscall::open(b"debug:", syscall::flag::O_WRONLY).map(FileHandle::into), Ok(1)); assert_eq!(syscall::open(b"debug:", syscall::flag::O_WRONLY).map(FileHandle::into), Ok(2)); - syscall::exec(b"initfs:/bin/init", &[]).expect("failed to execute initfs:init"); + syscall::exec(b"/bin/init", &[]).expect("failed to execute init"); - panic!("initfs:init returned") + panic!("init returned") } /// Allow exception handlers to send signal to arch-independant kernel