From af5c6ee23751579fff678a2920256457e59eff5c Mon Sep 17 00:00:00 2001 From: Jiajie Chen Date: Mon, 6 May 2019 11:35:43 +0800 Subject: [PATCH] Fix compilation on thinpad --- kernel/src/shell.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/src/shell.rs b/kernel/src/shell.rs index 89b8e01..c3057ad 100644 --- a/kernel/src/shell.rs +++ b/kernel/src/shell.rs @@ -39,7 +39,7 @@ pub fn add_user_shell() { } #[cfg(feature = "board_thinpad")] -pub fn run_user_shell() { +pub fn add_user_shell() { if let Ok(inode) = ROOT_INODE.lookup("sh") { let data = inode.read_as_vec().unwrap(); processor().manager().add(Thread::new_user(