diff --git a/programs/bpf_loader/src/syscalls.rs b/programs/bpf_loader/src/syscalls.rs index 71a071db0b4963..100154b8d14f12 100644 --- a/programs/bpf_loader/src/syscalls.rs +++ b/programs/bpf_loader/src/syscalls.rs @@ -1730,7 +1730,7 @@ fn call<'a>( } account_ref .data - .clone_from_slice(&account.data()[0..account_ref.data.len()]); + .copy_from_slice(&account.data()[0..account_ref.data.len()]); } } }