From 4ff026224e74b52d25bfd27e04734dfb430a0b8c 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/libraries/libmesosphere/source/kern_k_synchronization_object.cpp b/libraries/libmesosphere/source/kern_k_synchronization_object.cpp index 5fdefbf4b..1dcb33c2a 100644 --- a/libraries/libmesosphere/source/kern_k_synchronization_object.cpp +++ b/libraries/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"); } }