diff --git a/local/recipes/system/redbear-sessiond/source/src/main.rs b/local/recipes/system/redbear-sessiond/source/src/main.rs index f68ba1f1da..0638cb4b0d 100644 --- a/local/recipes/system/redbear-sessiond/source/src/main.rs +++ b/local/recipes/system/redbear-sessiond/source/src/main.rs @@ -230,11 +230,11 @@ fn main() { // kernel pipe fd (used by the mio waker, which should succeed). { use std::os::fd::AsRawFd; - use syscall::data::Event; - use syscall::flag::EventFlags; + use redox_syscall::data::Event; + use redox_syscall::flag::EventFlags; const O_RDWR_S: i32 = 0x0003_0000; const O_RDONLY_S: i32 = 0x0001_0000; - fn register(epfd: usize, fd: usize) -> syscall::Result { + fn register(epfd: usize, fd: usize) -> redox_syscall::Result { let ev = Event { id: fd, flags: EventFlags::EVENT_READ, data: 0 }; let bytes = unsafe { core::slice::from_raw_parts( @@ -242,7 +242,7 @@ fn main() { core::mem::size_of::(), ) }; - syscall::write(epfd, bytes) + redox_syscall::write(epfd, bytes) } match libredox::call::open("/scheme/event", O_RDWR_S, 0) { Ok(epfd) => {