From 76435da16dc410f883214d538db2b692cae7f945 Mon Sep 17 00:00:00 2001 From: Kevoot Date: Tue, 26 Jun 2018 20:39:06 -0400 Subject: [PATCH] Fix erroneous comment --- nx/include/switch/kernel/semaphore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx/include/switch/kernel/semaphore.h b/nx/include/switch/kernel/semaphore.h index 17bbc4c1..dd7aeafa 100644 --- a/nx/include/switch/kernel/semaphore.h +++ b/nx/include/switch/kernel/semaphore.h @@ -39,6 +39,6 @@ void semaphoreWait(Semaphore * s); /** * @brief Attempts to get lock without waiting. * @param s Semaphore object. - * @return 1 if no wait is needed for lock, 0 otherwise. + * @return true if no wait and successful lock, false otherwise. */ bool semaphoreTryWait(Semaphore * s);