PERFORCE change 145776 for review

Robert Watson rwatson at FreeBSD.org
Thu Jul 24 09:39:06 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=145776

Change 145776 by rwatson at 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)
 
 /*


More information about the p4-projects mailing list