Skip to content
Snippets Groups Projects
Verified Commit 5fc6acac authored by jD91mZM2's avatar jD91mZM2
Browse files

Fix printing of deprecation warning

parent 0590a71b
No related branches found
No related tags found
1 merge request!151Fix printing of deprecation warning
......@@ -73,7 +73,7 @@ pub fn syscall(a: usize, b: usize, c: usize, d: usize, e: usize, f: usize, bp: u
let current = contexts.current().unwrap();
let current = current.read();
let name = current.name.lock();
println!("{:?} using deprecated fmap(...) call", name);
println!("{:?} using deprecated fmap(...) call", core::str::from_utf8(&name));
}
file_op(a, fd, c, d)
},
......@@ -83,7 +83,7 @@ pub fn syscall(a: usize, b: usize, c: usize, d: usize, e: usize, f: usize, bp: u
let current = contexts.current().unwrap();
let current = current.read();
let name = current.name.lock();
println!("{:?} using deprecated funmap(...) call", name);
println!("{:?} using deprecated funmap(...) call", core::str::from_utf8(&name));
}
funmap_old(b)
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment