1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

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
This commit is contained in:
Robert Watson 2002-10-30 00:04:31 +00:00
parent 626251ea01
commit c7c2a7954a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106173

View File

@ -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;