From de535c8aebcf68a09ed16d0f53c6b87a107ee7cf Mon Sep 17 00:00:00 2001 From: fengjiahui4 Date: Wed, 1 Feb 2023 10:33:49 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=A8=E7=A6=81=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: fengjiahui4 --- README_zh.md | 1 + utils/los_error.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README_zh.md b/README_zh.md index 8fd66379..bd7cc158 100644 --- a/README_zh.md +++ b/README_zh.md @@ -53,3 +53,4 @@ v1.0 **kernel\_liteos\_m** + diff --git a/utils/los_error.c b/utils/los_error.c index 38cf2cde..0ae7c7b6 100644 --- a/utils/los_error.c +++ b/utils/los_error.c @@ -62,7 +62,7 @@ LITE_OS_SEC_TEXT_INIT UINT32 LOS_ErrHandle(CHAR *fileName, g_userErrFunc.pfnHook(fileName, lineNo, errorNo, paraLen, para); } - return LOS_OK; + return 0; } #ifdef __cplusplus -- Gitee