diff --git a/crates/krun-sys/LICENSE b/crates/krun-sys/LICENSE index d6456956..1a1086ef 100644 --- a/crates/krun-sys/LICENSE +++ b/crates/krun-sys/LICENSE @@ -187,7 +187,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright [yyyy] [name of copyright owner] + Copyright 2024-2026 The Asahi Linux Contributors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/crates/muvm/src/bin/muvm.rs b/crates/muvm/src/bin/muvm.rs index 5c21cfe7..d1398cd4 100644 --- a/crates/muvm/src/bin/muvm.rs +++ b/crates/muvm/src/bin/muvm.rs @@ -281,14 +281,13 @@ fn main() -> Result { add_ro_disk(ctx_id, &path, &path).context("Failed to configure disk")?; } - { + { // SAFETY: `root_path` is a pointer to a C-string literal. let err = unsafe { krun_set_root(ctx_id, c"/".as_ptr()) }; if err < 0 { let err = Errno::from_raw_os_error(-err); return Err(err).context("Failed to configure root path"); } - // SAFETY: `c_path` and `c_path` are pointers to C-string literals. let err = unsafe { krun_add_virtiofs2(