diff options
-rw-r--r-- | sys/kern/uipc_syscalls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_syscalls.c b/sys/kern/uipc_syscalls.c index a88b971cc6f..ad4353c8fd5 100644 --- a/sys/kern/uipc_syscalls.c +++ b/sys/kern/uipc_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uipc_syscalls.c,v 1.35 2001/02/09 00:04:16 itojun Exp $ */ +/* $OpenBSD: uipc_syscalls.c,v 1.36 2001/02/19 18:21:30 art Exp $ */ /* $NetBSD: uipc_syscalls.c,v 1.19 1996/02/09 19:00:48 christos Exp $ */ /* @@ -401,7 +401,7 @@ sys_sendmsg(p, v, retval) if (msg.msg_iovlen <= 0 || msg.msg_iovlen > IOV_MAX) return (EMSGSIZE); if (msg.msg_iovlen > UIO_SMALLIOV) - iov = malloc( sizeof(struct iovec) * msg.msg_iovlen, + iov = malloc(sizeof(struct iovec) * msg.msg_iovlen, M_IOV, M_WAITOK); else iov = aiov; |