Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2008 09:39:05 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 145776 for review
Message-ID:  <200807240939.m6O9d5tT022587@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=145776

Change 145776 by rwatson@rwatson_cinnamon_macosx on 2008/07/24 09:38:32

	Put () around macro arguments when used.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#69 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#69 (text+ko) ====

@@ -30,7 +30,7 @@
  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#68 $
+ * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#69 $
  */
 
 #include <sys/types.h>
@@ -87,7 +87,7 @@
 			memset((dptr), 0, (length));			\
 	} else								\
 		(dptr) = NULL;						\
-	assert(t == NULL || dptr != NULL);				\
+	assert((t) == NULL || (dptr) != NULL);				\
 } while (0)
 
 /*



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