This patch fixes misaligned arguments. Signed-off-by: Shi Lei <shi_lei@xxxxxxxxxxxxxx> --- src/admin/admin_server.c | 2 +- src/admin/admin_server_dispatch.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/admin/admin_server.c b/src/admin/admin_server.c index f2c1a8f..f1e9667 100644 --- a/src/admin/admin_server.c +++ b/src/admin/admin_server.c @@ -291,7 +291,7 @@ adminClientGetInfo(virNetServerClientPtr client, if (virIdentityGetSELinuxContext(identity, &attr) < 0 || (attr && virTypedParamsAddString(&tmpparams, nparams, &maxparams, - VIR_CLIENT_INFO_SELINUX_CONTEXT, attr) < 0)) + VIR_CLIENT_INFO_SELINUX_CONTEXT, attr) < 0)) goto cleanup; *params = tmpparams; diff --git a/src/admin/admin_server_dispatch.c b/src/admin/admin_server_dispatch.c index b78ff90..83e5953 100644 --- a/src/admin/admin_server_dispatch.c +++ b/src/admin/admin_server_dispatch.c @@ -396,8 +396,8 @@ adminDispatchServerSetClientLimits(virNetServerPtr server ATTRIBUTE_UNUSED, } if (virTypedParamsDeserialize((virTypedParameterRemotePtr) args->params.params_val, - args->params.params_len, - ADMIN_SERVER_CLIENT_LIMITS_MAX, ¶ms, &nparams) < 0) + args->params.params_len, + ADMIN_SERVER_CLIENT_LIMITS_MAX, ¶ms, &nparams) < 0) goto cleanup; if (adminServerSetClientLimits(srv, params, nparams, args->flags) < 0) -- 2.17.1 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list