svn commit: r190818 - head/sys/net

Ed Schouten ed at FreeBSD.org
Tue Apr 7 12:35:22 PDT 2009


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 at 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
 /*


More information about the svn-src-head mailing list