feat: kprintf now goes into dedicated pseudo-dev rather than flooding the framebuffer
[lunaix-os.git] / lunaix-os / kernel / process / process.c
index 370a5425c8636f21f3a6d05ce8491dc840433b29..2a4bdb452c8314fbda85776c56fdaaf6fe2bea58 100644 (file)
@@ -160,7 +160,7 @@ init_proc_user_space(struct proc_info* pcb)
 
     int status = 0;
     if ((status = mem_map(NULL, &mapped, USR_STACK, NULL, &param))) {
-        kprint_panic("fail to alloc user stack: %d", status);
+        kprintf(KFATAL "fail to alloc user stack: %d", status);
     }
 
     mapped->region_copied = __stack_copied;