Fix typo in ioctl

master
Jiajie Chen 6 years ago
parent 2a4747abaa
commit 6d14fbf3db

@ -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;

@ -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()
));
}

Loading…
Cancel
Save