From 59562180cacba4088f9bad942052d8fdf14e0383 Mon Sep 17 00:00:00 2001 From: dwmalone Date: Tue, 6 Mar 2001 11:06:56 +0000 Subject: Fix typo: define SX_ASSERT_XLOCKED not SX_ASSERT_XLOCKER in non-INVARIANTS case. PR: 25567 Submitted by: nnd@mail.nsk.ru --- sys/sys/sx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/sx.h b/sys/sys/sx.h index fde9129..a4fedbd 100644 --- a/sys/sys/sx.h +++ b/sys/sys/sx.h @@ -78,7 +78,7 @@ void sx_xunlock(struct sx *sx); #else /* INVARIANTS */ #define SX_ASSERT_SLOCKED(sx) -#define SX_ASSERT_XLOCKER(sx) +#define SX_ASSERT_XLOCKED(sx) #endif /* INVARIANTS */ #endif /* _KERNEL */ -- cgit v1.1