Spell CRITICAL_ASSERT correctly.

Submitted by:	jhb
MFC with:	r216944
This commit is contained in:
Colin Percival 2011-01-04 16:29:07 +00:00
parent e68f0c6425
commit b5e61aab00

View File

@ -253,8 +253,7 @@ _xen_flush_queue(void)
#ifdef INVARIANTS
if (__predict_true(gdtset))
KASSERT(curthread->td_critnest > 0,
("xen queue flush should be in a critical section"));
CRITICAL_ASSERT(curthread);
#endif
XPQ_IDX = 0;