kern: fix stray addressof operator

This commit is contained in:
Michael Scire committed 2023-03-08 09:46:38 -07:00
1 parent 68040e2922
commit a8df400825
1 file changed
+1 -1
@@ -51,7 +51,7 @@ namespace ams::kern {
/* Sleep the thread. */
{
KScopedSchedulerLockAndSleep lk(&timer, owner, timeout);
KScopedSchedulerLockAndSleep lk(std::addressof(timer), owner, timeout);
if (!allow_terminating_thread && owner->IsTerminationRequested()) {
lk.CancelSleep();