diff options
author | bz <bz@FreeBSD.org> | 2010-11-21 19:33:19 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2010-11-21 19:33:19 +0000 |
commit | 076c86b1ea64c90978af8d15f2bfd8611098619f (patch) | |
tree | 39027cf8772a440ac6ade26d6adb1b7b6357b063 | |
parent | bf8d02a8b8c7adcf02b43fc301279d3f0de89ea1 (diff) | |
download | FreeBSD-src-076c86b1ea64c90978af8d15f2bfd8611098619f.zip FreeBSD-src-076c86b1ea64c90978af8d15f2bfd8611098619f.tar.gz |
Add a missing ';' and change the debugging sysctl from xint to int.
Submitted by: Mikolaj Golub (to.my.trociny gmail.com)
MFC after: 3 days
-rw-r--r-- | sys/net/if_epair.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_epair.c b/sys/net/if_epair.c index 2f62330..8775e6f 100644 --- a/sys/net/if_epair.c +++ b/sys/net/if_epair.c @@ -78,7 +78,7 @@ SYSCTL_NODE(_net_link, OID_AUTO, epair, CTLFLAG_RW, 0, "epair sysctl"); #ifdef EPAIR_DEBUG static int epair_debug = 0; -SYSCTL_XINT(_net_link_epair, OID_AUTO, epair_debug, CTLFLAG_RW, +SYSCTL_INT(_net_link_epair, OID_AUTO, epair_debug, CTLFLAG_RW, &epair_debug, 0, "if_epair(4) debugging."); #define DPRINTF(fmt, arg...) \ if (epair_debug) \ @@ -305,7 +305,7 @@ epair_nh_drainedcpu(u_int cpuid) if ((ifp->if_drv_flags & IFF_DRV_OACTIVE) != 0) { /* Our "hw"q overflew again. */ - epair_dpcpu->epair_drv_flags |= IFF_DRV_OACTIVE + epair_dpcpu->epair_drv_flags |= IFF_DRV_OACTIVE; DPRINTF("hw queue length overflow at %u\n", epair_nh.nh_qlimit); break; |