Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Apr 2009 19:35:21 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r190818 - head/sys/net
Message-ID:  <200904071935.n37JZL3x023549@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Tue Apr  7 19:35:20 2009
New Revision: 190818
URL: http://svn.freebsd.org/changeset/base/190818

Log:
  Add parentheses to under-parenthesized macro.
  
  Submitted by:	Christoph Mallon <christoph.mallon@gmx.de>

Modified:
  head/sys/net/if_spppsubr.c

Modified: head/sys/net/if_spppsubr.c
==============================================================================
--- head/sys/net/if_spppsubr.c	Tue Apr  7 19:31:36 2009	(r190817)
+++ head/sys/net/if_spppsubr.c	Tue Apr  7 19:35:20 2009	(r190818)
@@ -239,7 +239,7 @@ struct cp {
 #define SPPP_LOCK(sp)	mtx_lock (&(sp)->mtx)
 #define SPPP_UNLOCK(sp)	mtx_unlock (&(sp)->mtx)
 #define SPPP_LOCK_ASSERT(sp)	mtx_assert (&(sp)->mtx, MA_OWNED)
-#define SPPP_LOCK_OWNED(sp)	mtx_owned (&sp->mtx)
+#define SPPP_LOCK_OWNED(sp)	mtx_owned (&(sp)->mtx)
 
 #ifdef INET
 /*



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