From 85e817da3ec108e7c544056960629c4866058e04 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Mon, 14 Dec 2020 10:32:49 -0800 Subject: [PATCH] kern: fix inverted conditional in waiter debug print --- libmesosphere/source/kern_k_synchronization_object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmesosphere/source/kern_k_synchronization_object.cpp b/libmesosphere/source/kern_k_synchronization_object.cpp index 5fdefbf4..1dcb33c2 100644 --- a/libmesosphere/source/kern_k_synchronization_object.cpp +++ b/libmesosphere/source/kern_k_synchronization_object.cpp @@ -187,7 +187,7 @@ namespace ams::kern { } /* If we didn't have any waiters, print so. */ - if (this->thread_list_head != nullptr) { + if (this->thread_list_head == nullptr) { MESOSPHERE_RELEASE_LOG(" None\n"); } }