diff --git a/nx/source/kernel/rwlock.c b/nx/source/kernel/rwlock.c index cb024425..962dd0ca 100644 --- a/nx/source/kernel/rwlock.c +++ b/nx/source/kernel/rwlock.c @@ -3,8 +3,8 @@ #include "kernel/rwlock.h" void rwlockInit(RwLock* r) { - rmutexInit(r->r); - rmutexInit(r->g); + rmutexInit(&r->r); + rmutexInit(&r->g); r->b = 0; }