aboutsummaryrefslogtreecommitdiff
path: root/kernel/l0/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/l0/thread.c')
-rw-r--r--kernel/l0/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/l0/thread.c b/kernel/l0/thread.c
index b14ad9b..1a67f6c 100644
--- a/kernel/l0/thread.c
+++ b/kernel/l0/thread.c
@@ -119,7 +119,7 @@ thread_t *new_thread(entry_t entry) {
thread_t *t = (thread_t*)kmalloc(sizeof(thread_t));
if (t == 0) return 0;
- void* stack = region_alloc(KPROC_STACK_SIZE, REGION_T_KPROC_STACK, 0);
+ void* stack = region_alloc(KPROC_STACK_SIZE, "Stack", 0);
if (stack == 0) {
kfree(t);
return 0;