mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 06:58:22 +00:00
stat: fix return value
This commit is contained in:
@@ -46,6 +46,7 @@ syscallret_t syscall_fstat(context_t *ctx, int fd, stat_t *ustat) {
|
|||||||
|
|
||||||
// TODO safe memcpy
|
// TODO safe memcpy
|
||||||
*ustat = buf;
|
*ustat = buf;
|
||||||
|
ret.ret = 0;
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
fd_release(file);
|
fd_release(file);
|
||||||
|
|||||||
Reference in New Issue
Block a user