diff options
author | jhb <jhb@FreeBSD.org> | 2006-12-29 14:58:18 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-12-29 14:58:18 +0000 |
commit | 9adb288460c6cbdf8d3f74594b66975f95a5e1ba (patch) | |
tree | 0bd6e69cb90f1df729e2f5b249d86380dbbb5e91 /sys/netinet/udp_usrreq.c | |
parent | 0a6fe7fb48fdccbd2170eb8e5bf80936caee4088 (diff) | |
download | FreeBSD-src-9adb288460c6cbdf8d3f74594b66975f95a5e1ba.zip FreeBSD-src-9adb288460c6cbdf8d3f74594b66975f95a5e1ba.tar.gz |
Some whitespace nits and remove a few casts.
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
-rw-r--r-- | sys/netinet/udp_usrreq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index b0ba537..52c4af5 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -142,7 +142,8 @@ udp_zone_change(void *tag) static int udp_inpcb_init(void *mem, int size, int flags) { - struct inpcb *inp = (struct inpcb *) mem; + struct inpcb *inp = mem; + INP_LOCK_INIT(inp, "inp", "udpinp"); return (0); } |