mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-28 21:28:21 +00:00
sock: fix abisockaddr type not being returned
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user