Skip to content

Commit

Permalink
examples: fix no-std hello world incorrect interface query syscall
Browse files Browse the repository at this point in the history
  • Loading branch information
Qix- committed Feb 8, 2025
1 parent ca05faf commit 69d0344
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/no-std/hello-world/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![no_main]

use oro::{
id::iface::{KERNEL_IFACE_QUERY_TYPE_META_V0, ROOT_DEBUG_OUT_V0},
id::iface::{KERNEL_IFACE_QUERY_BY_TYPE_V0, ROOT_DEBUG_OUT_V0},
key, syscall_get, syscall_set,
};

Expand All @@ -13,8 +13,8 @@ fn write_bytes(bytes: &[u8]) {

// Get the iface ID for the root ring debug output interface.
let Ok(iface) = syscall_get!(
KERNEL_IFACE_QUERY_TYPE_META_V0,
KERNEL_IFACE_QUERY_TYPE_META_V0,
KERNEL_IFACE_QUERY_BY_TYPE_V0,
KERNEL_IFACE_QUERY_BY_TYPE_V0,
ROOT_DEBUG_OUT_V0,
0
) else {
Expand Down

0 comments on commit 69d0344

Please sign in to comment.