Skip to content

Commit 6fae9ae

Browse files
authored
Update syscall.rs
1 parent e9cac4c commit 6fae9ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm/src/system/syscall.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ impl SyscallInstruction {
163163
let buffer = memory.read_bytes(buf_addr, count as _)?;
164164

165165
if let Some(logger) = logs {
166-
logger.push(buffer.clone());
166+
logger.push(buffer);
167167
} else {
168168
print!("{}", String::from_utf8_lossy(&buffer));
169169
}

0 commit comments

Comments
 (0)