diff options
| author | Zxy <[email protected]> | 2023-03-23 13:54:42 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-03-23 01:54:42 -0400 |
| commit | 4ed9bc11f71fe231bc673a9b1deb2ff5354129bc (patch) | |
| tree | d7b29e055464a66d015909da076961053a9d0a72 /libcpu | |
| parent | e15adf5e456f35fe38ac4ad88a30f00bccfff07f (diff) | |
[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) <[email protected]>
Diffstat (limited to 'libcpu')
| -rw-r--r-- | libcpu/aarch64/common/mmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
