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/raw_ip.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/raw_ip.c')
-rw-r--r-- | sys/netinet/raw_ip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c index e4d65c2..c6900b2 100644 --- a/sys/netinet/raw_ip.c +++ b/sys/netinet/raw_ip.c @@ -128,7 +128,8 @@ rip_zone_change(void *tag) static int rip_inpcb_init(void *mem, int size, int flags) { - struct inpcb *inp = (struct inpcb *) mem; + struct inpcb *inp = mem; + INP_LOCK_INIT(inp, "inp", "rawinp"); return (0); } |