mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-18 11:21:21 +00:00
fix debug code
This commit is contained in:
@ -129,8 +129,8 @@ pub fn ___syscall38(ctx: &mut Ctx, _which: c_int, mut varargs: VarArgs) -> i32 {
|
|||||||
let result = unsafe { rename(old_path, new_path) };
|
let result = unsafe { rename(old_path, new_path) };
|
||||||
debug!(
|
debug!(
|
||||||
"=> old_path: {}, new_path: {}, result: {}",
|
"=> old_path: {}, new_path: {}, result: {}",
|
||||||
std::ffi::CStr::from_ptr(old_path).to_str().unwrap(),
|
unsafe { std::ffi::CStr::from_ptr(old_path).to_str().unwrap() },
|
||||||
std::ffi::CStr::from_ptr(new_path).to_str().unwrap(),
|
unsafe { std::ffi::CStr::from_ptr(new_path).to_str().unwrap() },
|
||||||
result
|
result
|
||||||
);
|
);
|
||||||
result
|
result
|
||||||
|
Reference in New Issue
Block a user