diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-09-21 18:29:37 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-09-21 18:29:37 +0000 |
commit | 5bc8683c9889873224f018796a68d8e4f10335da (patch) | |
tree | 2c0b0b93af683c308264ff80fe126d71e1e226a1 /sys/security/mac_biba | |
parent | fed5dfb2396b45ba622b331af0a54cd7b8bcd7d2 (diff) | |
download | FreeBSD-src-5bc8683c9889873224f018796a68d8e4f10335da.zip FreeBSD-src-5bc8683c9889873224f018796a68d8e4f10335da.tar.gz |
As INVARIANTS isn't supported for code that loads only as a kernel
module and is not linked into the base system, two KASSERT's rotted.
Fix them by fixing variable names. It would be really nice if
opt_global.h was used when building modules as part of a buildkernel.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sys/security/mac_biba')
-rw-r--r-- | sys/security/mac_biba/mac_biba.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/mac_biba/mac_biba.c b/sys/security/mac_biba/mac_biba.c index 9d10dfa..f1b1a18 100644 --- a/sys/security/mac_biba/mac_biba.c +++ b/sys/security/mac_biba/mac_biba.c @@ -197,9 +197,9 @@ static int mac_biba_single_in_range(struct mac_biba *single, struct mac_biba *range) { - KASSERT((single->mb_flag & MAC_BIBA_FLAG_SINGLE) != 0, + KASSERT((single->mb_flags & MAC_BIBA_FLAG_SINGLE) != 0, ("mac_biba_single_in_range: a not single")); - KASSERT((range->mb_flag & MAC_BIBA_FLAG_RANGE) != 0, + KASSERT((range->mb_flags & MAC_BIBA_FLAG_RANGE) != 0, ("mac_biba_single_in_range: b not range")); return (mac_biba_dominate_element(&range->mb_rangehigh, |