summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-04-07 19:35:20 +0000
committered <ed@FreeBSD.org>2009-04-07 19:35:20 +0000
commite1758c2761d3dfc02a1e83dc6c1e4dacf153d313 (patch)
treed063b86acff796b8f13693269d2e87bcc00ccecd
parent0d9b7a69e5d1eda70f3c33e93b63edefea0b9ba5 (diff)
downloadFreeBSD-src-e1758c2761d3dfc02a1e83dc6c1e4dacf153d313.zip
FreeBSD-src-e1758c2761d3dfc02a1e83dc6c1e4dacf153d313.tar.gz
Add parentheses to under-parenthesized macro.
Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
-rw-r--r--sys/net/if_spppsubr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index 9a5a11d..b1c7125 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -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
/*
OpenPOWER on IntegriCloud