Skip to content

Commit

Permalink
Condvar fix
Browse files Browse the repository at this point in the history
  • Loading branch information
plutoo committed Feb 21, 2018
1 parent 14263dd commit 842ce50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nx/source/kernel/condvar.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ void condvarInit(CondVar* c, Mutex* m) {
Result condvarWaitTimeout(CondVar* c, u64 timeout) {
Result rc;

rc = svcWaitProcessWideKeyAtomic(&c->tag, (u32*) c->mutex, getThreadVars()->handle, timeout);
rc = svcWaitProcessWideKeyAtomic((u32*) c->mutex, &c->tag, getThreadVars()->handle, timeout);

// On timeout, we need to acquire it manually.
if (rc == 0xEA01)
Expand Down

0 comments on commit 842ce50

Please sign in to comment.