fix(kernel/syscalls): convert error codes in linux_getdents64 to Linux

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
EnderIce2 2025-04-03 07:12:11 +00:00
parent 1a48d05042
commit 1593e3107d
Signed by: enderice2
GPG Key ID: FEB6B8A8507BA62E

View File

@ -3141,7 +3141,7 @@ __no_sanitize("undefined") static ssize_t linux_getdents64(SysFrm *,
} }
} }
#endif #endif
return ret; return ConvertErrnoToLinux(ret);
} }
static int linux_clock_gettime(SysFrm *, clockid_t clockid, struct timespec *tp) static int linux_clock_gettime(SysFrm *, clockid_t clockid, struct timespec *tp)