diff options
Diffstat (limited to 'sys/net/rtsock.c')
-rw-r--r-- | sys/net/rtsock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c index 7b610d6..ae6fa6a 100644 --- a/sys/net/rtsock.c +++ b/sys/net/rtsock.c @@ -169,7 +169,7 @@ rts_attach(struct socket *so, int proto, struct thread *td) KASSERT(so->so_pcb == NULL, ("rts_attach: so_pcb != NULL")); /* XXX */ - MALLOC(rp, struct rawcb *, sizeof *rp, M_PCB, M_WAITOK | M_ZERO); + rp = malloc(sizeof *rp, M_PCB, M_WAITOK | M_ZERO); if (rp == NULL) return ENOBUFS; |