summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rpc/rpc-lib/src/rpc-clnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/rpc-lib/src/rpc-clnt.c b/rpc/rpc-lib/src/rpc-clnt.c
index 0cf7fe96946..b2ea58004a9 100644
--- a/rpc/rpc-lib/src/rpc-clnt.c
+++ b/rpc/rpc-lib/src/rpc-clnt.c
@@ -1234,7 +1234,7 @@ rpc_clnt_record (struct rpc_clnt *clnt, call_frame_t *call_frame,
", gid: %d, owner: %"PRId64,
au.pid, au.uid, au.gid, au.lk_owner);
- memcpy (au.groups, call_frame->root->groups, 16);
+ memcpy (au.groups, call_frame->root->groups, sizeof (au.groups));
//rpc_transport_get_myname (clnt->conn.trans, myname, UNIX_PATH_MAX);
//au.aup_machname = myname;