summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/aarch64/common/mmu.c2
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;
}