From 5b70e366219e7bd59da2e8206b1600794a802c76 Mon Sep 17 00:00:00 2001 From: zhongning5 Date: Tue, 19 Dec 2023 18:45:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Ddac=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA=E6=97=B6=E5=90=8C=E7=9B=AE=E5=BD=95=E4=B8=8B?= =?UTF-8?q?=E5=85=B6=E4=BB=96dac=E6=96=87=E4=BB=B6=E4=B8=8D=E8=A7=A3?= =?UTF-8?q?=E6=9E=90=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhongning5 --- services/param/adapter/param_dac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/param/adapter/param_dac.c b/services/param/adapter/param_dac.c index d0e62d9cd..44c5e6d1a 100644 --- a/services/param/adapter/param_dac.c +++ b/services/param/adapter/param_dac.c @@ -182,7 +182,7 @@ static int LoadOneParam_(const uint32_t *context, const char *name, const char * static int LoadParamLabels(const char *fileName) { - int result = -1; + int result = 0; ParamAuditData *auditData = (ParamAuditData *)calloc(1, sizeof(ParamAuditData) + sizeof(uid_t) * MAX_MEMBER_IN_GROUP); if (auditData == NULL) {