Use the new scheme format in most places

The graphics subsystem still uses the old format as orbital manually
parses the fpath result.
This commit is contained in:
bjorn3
2024-07-11 21:14:42 +02:00
parent 21b2e90d50
commit fd8dabd1bc
22 changed files with 56 additions and 56 deletions
+2 -2
View File
@@ -238,14 +238,14 @@ fn daemon(daemon: redox_daemon::Daemon) -> ! {
.expect("ided: failed to create disk scheme");
let primary_irq_fd = libredox::call::open(
&format!("irq:{}", primary_irq),
&format!("/scheme/irq/{}", primary_irq),
flag::O_RDWR | flag::O_NONBLOCK,
0,
).expect("ided: failed to open irq file");
let mut primary_irq_file = unsafe { File::from_raw_fd(primary_irq_fd as RawFd) };
let secondary_irq_fd = libredox::call::open(
&format!("irq:{}", secondary_irq),
&format!("/scheme/irq/{}", secondary_irq),
flag::O_RDWR | flag::O_NONBLOCK,
0,
).expect("ided: failed to open irq file");