summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/fastrpc_apps_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/fastrpc_apps_user.c b/src/lib/fastrpc_apps_user.c
index c772d7a..ab74437 100644
--- a/src/lib/fastrpc_apps_user.c
+++ b/src/lib/fastrpc_apps_user.c
@@ -820,10 +820,10 @@ int remote_handle_invoke(remote_handle handle, uint32_t sc, remote_arg *pra)
return -ENOMEM;
invoke.args = (__u64)(uintptr_t)args;
- args->reserved = 0;
for (i = 0; i < bufs; i++)
{
+ args[i].reserved = 0;
args[i].length = pra[i].buf.nLen;
args[i].ptr = (__u64)(uintptr_t)pra[i].buf.pv;