Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Nov 2010 20:48:03 +0200
From:      Mikolaj Golub <to.my.trociny@gmail.com>
To:        freebsd-net@FreeBSD.org
Subject:   net/if_epair.c: semicolon missed
Message-ID:  <86aal28qe4.fsf@kopusha.home.net>

next in thread | raw e-mail | index | archive | help
--=-=-=

Hi,

In net/if_epair.c semicolon is missed in epair_nh_drainedcpu() (see the
patch below). This shows up when compiling with EPAIR_DEBUG.

Also, what was a reason to declare epair_debug mib as XINT? Shouldn't be just
INT?

-- 
Mikolaj Golub


--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline; filename=if_epair.c.patch

Index: sys/net/if_epair.c
===================================================================
--- sys/net/if_epair.c	(revision 215576)
+++ sys/net/if_epair.c	(working copy)
@@ -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;

--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86aal28qe4.fsf>