From f9bf4c618a3d9f40f1b358d7995ad150af4c8ec0 Mon Sep 17 00:00:00 2001 From: Max Wash Date: Thu, 26 Feb 2026 20:54:14 +0000 Subject: [PATCH] syscall: log: add task id to log output --- syscall/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syscall/log.c b/syscall/log.c index 25c9bbf..328fac6 100644 --- a/syscall/log.c +++ b/syscall/log.c @@ -4,6 +4,6 @@ kern_status_t sys_kern_log(const char *s) { struct task *task = current_task(); - printk("%s: %s", task->t_name, task->t_id, s); + printk("%s[%d]: %s", task->t_name, task->t_id, s); return KERN_OK; }