sock: fix abisockaddr type not being returned

This commit is contained in:
Matheus
2024-06-10 23:01:19 -03:00
parent a5cfcb28c8
commit 34596bb5e9
2 changed files with 2 additions and 3 deletions
-3
View File
@@ -6,9 +6,6 @@ syscallret_t syscall_getpeername(context_t *, int fd, void *uaddr, int *addrlen)
.ret = -1
};
ret.errno = ENOSYS;
return ret;
file_t *file = fd_get(fd);
if (file == NULL) {
ret.errno = EBADF;