summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2006-02-01 04:18:07 +0000
committerscottl <scottl@FreeBSD.org>2006-02-01 04:18:07 +0000
commit84425bc82da7cacb6a519decde17deba3b05f402 (patch)
treed2f923dd46671843de3a29588f32eb1fa07f8285
parent47857ecfe15e8979cdb376b6904ce987b0668a83 (diff)
downloadFreeBSD-src-84425bc82da7cacb6a519decde17deba3b05f402.zip
FreeBSD-src-84425bc82da7cacb6a519decde17deba3b05f402.tar.gz
Fix another compile problem. If I find any more, this file is going in the
Attic until it is properly fixed.
-rw-r--r--sys/kern/kern_rwlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_rwlock.c b/sys/kern/kern_rwlock.c
index f7f2272..3ce95c8 100644
--- a/sys/kern/kern_rwlock.c
+++ b/sys/kern/kern_rwlock.c
@@ -489,7 +489,7 @@ _rw_wunlock_hard(struct rwlock *rw, uintptr_t tid, const char *file, int line)
}
#ifdef INVARIANT_SUPPORT
-#ifndef INVARIANT_SUPPORT
+#ifndef INVARIANTS
#undef _rw_assert
#endif
OpenPOWER on IntegriCloud