From 053d10276fde04e3ae0a2ba72c91b52fb590870c Mon Sep 17 00:00:00 2001 From: vasilito Date: Fri, 17 Jul 2026 18:18:40 +0900 Subject: [PATCH] sessiond: fix DIAG probe crate name (redox_syscall) --- local/recipes/system/redbear-sessiond/source/src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) => {