- if ((status = mem_map(NULL, &mapped, USTACK_END, NULL, ¶m))) {
- kprint_panic("fail to alloc user stack: %d", status);
+ if ((status = mem_map(NULL, &mapped, USR_STACK, NULL, ¶m))) {
+ kprintf(KFATAL "fail to alloc user stack: %d", status);