dukky: Fix assignment in assert

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
Daniel Silverstone 2020-10-03 14:21:26 +01:00
parent 2b2469df7e
commit ba4c20a0c7
No known key found for this signature in database
GPG Key ID: C30DF439F2987D74

View File

@ -785,7 +785,7 @@ static void dukky_destroythread(jsthread *thread)
jsheap *heap = thread->heap; jsheap *heap = thread->heap;
assert(thread->in_use == 0); assert(thread->in_use == 0);
assert(thread->pending_destroy = true); assert(thread->pending_destroy == true);
/* Closing down the extant thread */ /* Closing down the extant thread */
NSLOG(dukky, DEBUG, "Closing down extant thread %p in heap %p", thread, heap); NSLOG(dukky, DEBUG, "Closing down extant thread %p in heap %p", thread, heap);