stat: fix return value

This commit is contained in:
Matheus
2024-05-03 15:15:07 -03:00
parent 2930506e59
commit 8c7356df2c
+1
View File
@@ -46,6 +46,7 @@ syscallret_t syscall_fstat(context_t *ctx, int fd, stat_t *ustat) {
// TODO safe memcpy
*ustat = buf;
ret.ret = 0;
cleanup:
fd_release(file);