From 34a832b43ec9374804ad03367016af3b15c0fb7e Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Sun, 18 Aug 2024 21:44:10 +0200 Subject: [PATCH] Remove all usages of the legacy scheme syntax --- src/bin/installer_tui.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/installer_tui.rs b/src/bin/installer_tui.rs index d477ff07e8..99efbad390 100644 --- a/src/bin/installer_tui.rs +++ b/src/bin/installer_tui.rs @@ -28,7 +28,7 @@ fn disk_paths(_paths: &mut Vec<(String, u64)>) {} #[cfg(target_os = "redox")] fn disk_paths(paths: &mut Vec<(String, u64)>) { let mut schemes = Vec::new(); - match fs::read_dir(":") { + match fs::read_dir("/scheme") { Ok(entries) => for entry_res in entries { if let Ok(entry) = entry_res { let path = entry.path(); @@ -269,7 +269,7 @@ fn choose_password() -> Option { } fn main() { - let root_path = Path::new("file:"); + let root_path = Path::new("/"); let disk_path = choose_disk();