diff --git a/src/main.rs b/src/main.rs index ef3cae6..2c9a2de 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,7 +2,7 @@ mod controller; use std::{ collections::VecDeque, - os::mikros::{ipc, syscalls, Errno}, + os::mikros::{ipc, syscalls, Errno, FileOpenMode}, sync::OnceLock, }; @@ -21,7 +21,7 @@ static KEYPRESS_BUF: Mutex> = Mutex::new(VecDeque::new()); struct DevServ; impl dev_driver_rpc::Server for DevServ { - fn open(&self, _path: &std::path::Path) -> Result { + fn open(&self, _path: &std::path::Path, _mode: FileOpenMode) -> Result { Ok(0) } }