diff --git a/kernel/src/fs/ioctl.rs b/kernel/src/fs/ioctl.rs index e9fa9ca6..dc3d9970 100644 --- a/kernel/src/fs/ioctl.rs +++ b/kernel/src/fs/ioctl.rs @@ -28,7 +28,7 @@ pub const TIOCGWINSZ: usize = 0x4_008_74_68; #[cfg(not(target_arch = "mips"))] pub const FIONCLEX: usize = 0x5450; #[cfg(target_arch = "mips")] -pub const FIOCLEX: usize = 0x6602; +pub const FIONCLEX: usize = 0x6602; #[cfg(not(target_arch = "mips"))] pub const FIOCLEX: usize = 0x5451; diff --git a/kernel/src/shell.rs b/kernel/src/shell.rs index 45274c84..48b7608d 100644 --- a/kernel/src/shell.rs +++ b/kernel/src/shell.rs @@ -45,9 +45,9 @@ pub fn add_user_shell() { let inode = ROOT_INODE.lookup(&cmdline).unwrap(); processor().manager().add(Thread::new_user( &inode, - "/busybox", cmdline.split(' ').map(|s| s.into()).collect(), Vec::new(), + Vec::new() )); }