From 5dbc300329925e409ccd6603464968864f0e78e7 Mon Sep 17 00:00:00 2001 From: caochao Date: Sat, 26 Feb 2022 09:33:31 +0800 Subject: [PATCH] fix reviewbot warnnings Signed-off-by: caochao Change-Id: Ia484f72d4689b5b84bb06afd72f55ee145bd1ec2 --- samgr_endpoint/source/endpoint_rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samgr_endpoint/source/endpoint_rpc.c b/samgr_endpoint/source/endpoint_rpc.c index 885c79f..8a4662f 100644 --- a/samgr_endpoint/source/endpoint_rpc.c +++ b/samgr_endpoint/source/endpoint_rpc.c @@ -79,7 +79,7 @@ static int Dispatch(uint32_t code, IpcIo *data, IpcIo *reply, MessageOption opti static void HandleIpc(const Request *request, const Response *response); static int OnSamgrServerExit(void *ipcMsg, IpcIo *data, void *argv); static int RegisterRemoteFeatures(Endpoint *endpoint); -static void Listen(Endpoint *endpoint, int token, const char *service, const char *feature); +static void Listen(Endpoint *endpoint, int index, const char *service, const char *feature); static boolean JudgePolicy(uid_t callingUid, const PolicyTrans *policy, uint32 policyNum); static boolean SearchFixedPolicy(uid_t callingUid, PolicyTrans policy); static int AddPolicyToRouter(const Endpoint *endpoint, const SvcIdentity *saInfo, -- Gitee