From 4ed9bc11f71fe231bc673a9b1deb2ff5354129bc Mon Sep 17 00:00:00 2001 From: Zxy <78582677+ZosCat1@users.noreply.github.com> Date: Thu, 23 Mar 2023 13:54:42 +0800 Subject: [errno code]fix that use RT_ENOSYS without - (#7084) * [errno code]fix that use RT_ENOSYS without - * Update bsp/airm2m/air32f103/libraries/rt_drivers/drv_hwtimer.c --------- Co-authored-by: Man, Jianting (Meco) <920369182@qq.com> --- libcpu/aarch64/common/mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcpu') diff --git a/libcpu/aarch64/common/mmu.c b/libcpu/aarch64/common/mmu.c index 83073a6314..1e94fdca97 100644 --- a/libcpu/aarch64/common/mmu.c +++ b/libcpu/aarch64/common/mmu.c @@ -613,7 +613,7 @@ static int _noncache(uintptr_t *pte) else { // do not support other type to be noncache - err = RT_ENOSYS; + err = -RT_ENOSYS; } return err; } -- cgit v1.3.1