From 003fb2a6731ef3f23e63e7a99278fce3d58b7356 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Sat, 13 Dec 2025 12:59:19 +0100 Subject: [PATCH] ramfs: Update to redox-scheme 0.8 --- Cargo.lock | 2 +- ramfs/Cargo.toml | 2 +- ramfs/src/main.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7dec46fcb9..75a477fdfe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1451,7 +1451,7 @@ dependencies = [ "daemon", "indexmap", "libredox", - "redox-scheme 0.5.0", + "redox-scheme 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)", "redox_syscall", "slab", ] diff --git a/ramfs/Cargo.toml b/ramfs/Cargo.toml index d54f502425..9e31f95db5 100644 --- a/ramfs/Cargo.toml +++ b/ramfs/Cargo.toml @@ -11,7 +11,7 @@ description = "In-memory filesystem for Redox, which is useful for early logging [dependencies] daemon = { path = "../daemon" } redox_syscall = "0.5.10" -redox-scheme = "0.5" +redox-scheme = "0.8.2" libredox = "0.1.3" indexmap = "2.5.0" slab = "0.4.9" diff --git a/ramfs/src/main.rs b/ramfs/src/main.rs index 45fb3bcd36..a22554f478 100644 --- a/ramfs/src/main.rs +++ b/ramfs/src/main.rs @@ -35,7 +35,7 @@ fn daemon(daemon: daemon::Daemon) -> ! { let response = call.handle_sync(&mut scheme); socket - .write_responses(&[response], SignalBehavior::Restart) + .write_response(response, SignalBehavior::Restart) .expect("ramfs: failed to write next scheme response"); } RequestKind::OnClose { id } => {