diff options
author | hselasky <hselasky@FreeBSD.org> | 2016-03-16 10:42:24 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2016-03-16 10:42:24 +0000 |
commit | a2e6e2bfcdb04765bcf7b9abfee6533a52ce685f (patch) | |
tree | 1c48d7e3e6c3de8449c925229d5847a9877cdc35 | |
parent | 5b52683cd8329f800d8a0f00de9c63a4d4fbeeca (diff) | |
download | FreeBSD-src-a2e6e2bfcdb04765bcf7b9abfee6533a52ce685f.zip FreeBSD-src-a2e6e2bfcdb04765bcf7b9abfee6533a52ce685f.tar.gz |
Fix kernel build after adding new sysctl asserts in r296933.
-rw-r--r-- | sys/netinet/tcp_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 16be9cb..7134ce4 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -243,7 +243,7 @@ SYSCTL_VNET_PCPUSTAT(_net_inet_tcp, TCPCTL_STATS, stats, struct tcpstat, tcpstat, "TCP statistics (struct tcpstat, netinet/tcp_var.h)"); VNET_DEFINE(counter_u64_t, tcps_states[TCP_NSTATES]); SYSCTL_COUNTER_U64_ARRAY(_net_inet_tcp, TCPCTL_STATES, states, CTLFLAG_RD | - CTLFLAG_VNET, &VNET_NAME(tcps_states), TCP_NSTATES, + CTLFLAG_VNET, &VNET_NAME(tcps_states)[0], TCP_NSTATES, "TCP connection counts by TCP state"); static void |