summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2015-10-15 01:44:32 +0000
committerbz <bz@FreeBSD.org>2015-10-15 01:44:32 +0000
commit75679462b6d97f0a92683e973e15c3c02d5589b4 (patch)
tree8a1c57f73425d5677132691806215a3d322a9bc1
parentc4e448c582ca7ddf1b1034e3b6c7bd55251088a6 (diff)
downloadFreeBSD-src-75679462b6d97f0a92683e973e15c3c02d5589b4.zip
FreeBSD-src-75679462b6d97f0a92683e973e15c3c02d5589b4.tar.gz
Hopefully also unbreak VIMAGE kernels replacing the &V_... with
&VNET_NAME(...). Everything else is just a whitespace wrapping change.
-rw-r--r--sys/netinet/tcp_pcap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/tcp_pcap.c b/sys/netinet/tcp_pcap.c
index c431f24..f0c651d 100644
--- a/sys/netinet/tcp_pcap.c
+++ b/sys/netinet/tcp_pcap.c
@@ -70,9 +70,9 @@ SYSCTL_INT(_net_inet_tcp, OID_AUTO, tcp_pcap_alloc_new_mbuf,
VNET_DEFINE(int, tcp_pcap_packets) = 0;
#define V_tcp_pcap_packets VNET(tcp_pcap_packets)
-SYSCTL_INT(_net_inet_tcp, OID_AUTO, tcp_pcap_packets, CTLFLAG_RW,
- &V_tcp_pcap_packets, 0, "Default number of packets saved per direction "
- "per TCPCB");
+SYSCTL_INT(_net_inet_tcp, OID_AUTO, tcp_pcap_packets,
+ CTLFLAG_RW, &VNET_NAME(tcp_pcap_packets), 0,
+ "Default number of packets saved per direction per TCPCB");
/* Initialize the values. */
static void
OpenPOWER on IntegriCloud