Date: Thu, 12 Sep 2002 19:02:24 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 17427 for review Message-ID: <200209130202.g8D22OiC055614@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=17427 Change 17427 by rwatson@rwatson_paprika on 2002/09/12 19:01:24 Warning fixes due to parens positioning in assignments. Affected files ... .. //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#104 edit .. //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#86 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#104 (text+ko) ==== @@ -274,8 +274,8 @@ mac_biba_subject_equal_ok(struct mac_biba *mac_biba) { - KASSERT((mac_biba->mb_flags & MAC_BIBA_FLAGS_BOTH == - MAC_BIBA_FLAGS_BOTH), + KASSERT((mac_biba->mb_flags & MAC_BIBA_FLAGS_BOTH) == + MAC_BIBA_FLAGS_BOTH, ("mac_biba_subject_equal_ok: subject doesn't have both labels")); /* If the single is EQUAL, it's ok */ ==== //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#86 (text+ko) ==== @@ -264,7 +264,7 @@ mac_mls_subject_equal_ok(struct mac_mls *mac_mls) { - KASSERT((mac_mls->mm_flags & MAC_MLS_FLAGS_BOTH == MAC_MLS_FLAGS_BOTH), + KASSERT((mac_mls->mm_flags & MAC_MLS_FLAGS_BOTH) == MAC_MLS_FLAGS_BOTH, ("mac_mls_subject_equal_ok: subject doesn't have both labels")); /* If the single is EQUAL, it's ok. */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209130202.g8D22OiC055614>