mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48: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
|
||||
*ustat = buf;
|
||||
ret.ret = 0;
|
||||
|
||||
cleanup:
|
||||
fd_release(file);
|
||||
|
||||
Reference in New Issue
Block a user