aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/memory/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/memory/alloc.c')
-rw-r--r--src/kernel/memory/alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/memory/alloc.c b/src/kernel/memory/alloc.c
index d94e482..0751011 100644
--- a/src/kernel/memory/alloc.c
+++ b/src/kernel/memory/alloc.c
@@ -10,7 +10,7 @@ static int locked = 0;
int liballoc_lock()
{
- spinlock(locked);
+ spinlock(&locked);
return 0;
}