diff --git a/libraries/libmesosphere/include/mesosphere/kern_k_auto_object.hpp b/libraries/libmesosphere/include/mesosphere/kern_k_auto_object.hpp index 1b7b433b8..dc99f5ceb 100644 --- a/libraries/libmesosphere/include/mesosphere/kern_k_auto_object.hpp +++ b/libraries/libmesosphere/include/mesosphere/kern_k_auto_object.hpp @@ -358,7 +358,7 @@ namespace ams::kern { void Detach() { /* Close our object, if we have one. */ if (T * const object = m_object; AMS_LIKELY(object != nullptr)) { - /* Set our object to a debug sentinel value, which will cause crash if accessed. */ + /* Set our object to a debug sentinel value, which will cause a crash if accessed. */ m_object = reinterpret_cast(1); /* Close reference to our object. */ diff --git a/libraries/libmesosphere/source/arch/arm64/kern_k_debug.cpp b/libraries/libmesosphere/source/arch/arm64/kern_k_debug.cpp index 3addd8da1..eb04243cf 100644 --- a/libraries/libmesosphere/source/arch/arm64/kern_k_debug.cpp +++ b/libraries/libmesosphere/source/arch/arm64/kern_k_debug.cpp @@ -365,7 +365,7 @@ namespace ams::kern::arch::arm64 { value = 0; } - /* Set the watchkpoint. */ + /* Set the watchpoint. */ switch (name) { case ams::svc::HardwareBreakPointRegisterName_D0: MESOSPHERE_SET_HW_WATCH_POINT( 0, flags, value); break; case ams::svc::HardwareBreakPointRegisterName_D1: MESOSPHERE_SET_HW_WATCH_POINT( 1, flags, value); break; diff --git a/libraries/libmesosphere/source/kern_k_process.cpp b/libraries/libmesosphere/source/kern_k_process.cpp index 07d122280..a82d94bec 100644 --- a/libraries/libmesosphere/source/kern_k_process.cpp +++ b/libraries/libmesosphere/source/kern_k_process.cpp @@ -51,7 +51,7 @@ namespace ams::kern { } } - /* Wait for all children threads to terminate.*/ + /* Wait for all children threads to terminate. */ while (true) { /* Get the next child. */ KThread *cur_child = nullptr; @@ -467,7 +467,7 @@ namespace ams::kern { void KProcess::Exit() { MESOSPHERE_ASSERT_THIS(); - /* Determine whether we need to start terminating */ + /* Determine whether we need to start terminating. */ bool needs_terminate = false; { KScopedLightLock lk(m_state_lock);