summaryrefslogtreecommitdiffstats
path: root/sys/security/mac_biba
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-10-30 00:04:31 +0000
committerrwatson <rwatson@FreeBSD.org>2002-10-30 00:04:31 +0000
commitfc851fde9efadcab52dd211633c0010596fe3973 (patch)
treeabc01bd04325c1a8efb05ad89294e69052b49225 /sys/security/mac_biba
parent33b9bd2d6c48f39635d69912bfe418db5e23b394 (diff)
downloadFreeBSD-src-fc851fde9efadcab52dd211633c0010596fe3973.zip
FreeBSD-src-fc851fde9efadcab52dd211633c0010596fe3973.tar.gz
Fix a KASSERT bug that showed up only in the LINT build, not the
module build, so I missed it in the merge. Pointed out by: sam
Diffstat (limited to 'sys/security/mac_biba')
-rw-r--r--sys/security/mac_biba/mac_biba.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/mac_biba/mac_biba.c b/sys/security/mac_biba/mac_biba.c
index c424328..bff2e29 100644
--- a/sys/security/mac_biba/mac_biba.c
+++ b/sys/security/mac_biba/mac_biba.c
@@ -224,7 +224,7 @@ mac_biba_subject_dominate_high(struct mac_biba *mac_biba)
{
struct mac_biba_element *element;
- KASSERT((mac_biba->mb_single->mb_flags & MAC_BIBA_FLAG_SINGLE) != 0,
+ KASSERT((mac_biba->mb_single.mb_flags & MAC_BIBA_FLAG_SINGLE) != 0,
("mac_biba_single_in_range: mac_biba not single"));
element = &mac_biba->mb_single;
OpenPOWER on IntegriCloud