diff options
| author | Alfred Perlstein <alfred@FreeBSD.org> | 2002-06-28 23:17:36 +0000 |
|---|---|---|
| committer | Alfred Perlstein <alfred@FreeBSD.org> | 2002-06-28 23:17:36 +0000 |
| commit | 210a5a7169e54418061617be16f8c202e39fb819 (patch) | |
| tree | 1d65994da9780a3793fa1f5e1355ce5d482e8c87 /sys/kern/uipc_usrreq.c | |
| parent | 02a32cd207540f03775b336c7a2989e5ad3cd332 (diff) | |
Notes
Diffstat (limited to 'sys/kern/uipc_usrreq.c')
| -rw-r--r-- | sys/kern/uipc_usrreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c index 04d670c1fb0d..b227d914b5a1 100644 --- a/sys/kern/uipc_usrreq.c +++ b/sys/kern/uipc_usrreq.c @@ -543,7 +543,7 @@ unp_attach(so) FILEDESC_UNLOCK(curproc->p_fd); LIST_INSERT_HEAD(so->so_type == SOCK_DGRAM ? &unp_dhead : &unp_shead, unp, unp_link); - so->so_pcb = (caddr_t)unp; + so->so_pcb = unp; return (0); } @@ -1406,7 +1406,7 @@ unp_gc() } for (i = nunref, fpp = extra_ref; --i >= 0; ++fpp) closef(*fpp, (struct thread *) NULL); - free((caddr_t)extra_ref, M_TEMP); + free(extra_ref, M_TEMP); unp_gcing = 0; } |
