From 1e183ca4ba1f62f940fa4385a80ef4e9fedbc6c9 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Thu, 11 Jul 2024 21:09:53 +0200 Subject: [PATCH] Use the new scheme format --- src/bin/getty.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/getty.rs b/src/bin/getty.rs index 111900d0aa..20727d3ee6 100644 --- a/src/bin/getty.rs +++ b/src/bin/getty.rs @@ -118,7 +118,7 @@ pub fn handle( pub fn getpty(columns: u32, lines: u32) -> (RawFd, String) { let master = redox::open( - "pty:", + "/scheme/pty", flag::O_CLOEXEC | flag::O_RDWR | flag::O_CREAT | flag::O_NONBLOCK, 0, ) @@ -235,7 +235,7 @@ pub fn main() { let buf: String; let vt_path = if vt.parse::().is_ok() { - buf = format!("fbcon:{vt}"); + buf = format!("/scheme/fbcon/{vt}"); &*buf } else { vt