syscalls: fix compilation

This commit is contained in:
Matheus
2024-08-31 20:29:45 -03:00
parent cbcd4bd60f
commit 2f0b43822b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ syscallret_t syscall_bind(context_t *, int fd, void *uaddr, size_t addrlen) {
socket_t *socket = SOCKFS_SOCKET_FROM_NODE(file->vnode);
ret.errno = socket->ops->bind(socket, &sockaddr);
ret.errno = socket->ops->bind(socket, &sockaddr, &_cpu()->thread->proc->cred);
ret.ret = ret.errno ? -1 : 0;
cleanup: