svn commit: r216011 - stable/8/sys/net

Bjoern A. Zeeb bz at FreeBSD.org
Sun Nov 28 17:23:29 UTC 2010


Author: bz
Date: Sun Nov 28 17:23:28 2010
New Revision: 216011
URL: http://svn.freebsd.org/changeset/base/216011

Log:
  MFC r215641:
  
    Add a missing ';' and change the debugging sysctl from xint to int.
  
    Submitted by:	Mikolaj Golub (to.my.trociny gmail.com)

Modified:
  stable/8/sys/net/if_epair.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/net/if_epair.c
==============================================================================
--- stable/8/sys/net/if_epair.c	Sun Nov 28 17:02:02 2010	(r216010)
+++ stable/8/sys/net/if_epair.c	Sun Nov 28 17:23:28 2010	(r216011)
@@ -78,7 +78,7 @@ SYSCTL_NODE(_net_link, OID_AUTO, epair, 
 
 #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)						\
@@ -311,7 +311,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;


More information about the svn-src-all mailing list