Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Nov 2009 09:12:45 +0000 (UTC)
From:      Oleg Bulyzhin <oleg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r199073 - head/sys/netinet/ipfw
Message-ID:  <200911090912.nA99CjGm014447@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: oleg
Date: Mon Nov  9 09:12:45 2009
New Revision: 199073
URL: http://svn.freebsd.org/changeset/base/199073

Log:
  style(9): add missing parentheses

Modified:
  head/sys/netinet/ipfw/ip_dummynet.c

Modified: head/sys/netinet/ipfw/ip_dummynet.c
==============================================================================
--- head/sys/netinet/ipfw/ip_dummynet.c	Mon Nov  9 08:54:47 2009	(r199072)
+++ head/sys/netinet/ipfw/ip_dummynet.c	Mon Nov  9 09:12:45 2009	(r199073)
@@ -252,7 +252,7 @@ static int	dummynet_io(struct mbuf **, i
 #define QUEUE_IS_IDLE(q) ((q)->head == NULL && (q)->S == (q)->F + 1 && \
 	curr_time > (q)->idle_time + 1 && \
 	((q)->numbytes + (curr_time - (q)->idle_time - 1) * \
-	(q)->fs->pipe->bandwidth >= q->fs->pipe->burst))
+	(q)->fs->pipe->bandwidth >= (q)->fs->pipe->burst))
 
 /*
  * Heap management functions.



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