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.mal...@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
 /*
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to