From 08555f3a07944a8402955d84da3fd7029206b110 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Tue, 29 Nov 2016 18:15:53 -0700 Subject: [PATCH] More path cleanup --- kernel/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/lib.rs b/kernel/lib.rs index 2bdf7b2..8a1a8b1 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