summaryrefslogtreecommitdiff
path: root/kernel/log.c
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-03-14 13:09:59 +0100
committerAnton Kling <anton@kling.gg>2024-03-14 13:09:59 +0100
commit2e8b474d4219e7faaac3823e73c8d528c2698a37 (patch)
tree7d93b5fd220e8b703ba69f9b55122d15c9d619fb /kernel/log.c
parent051ac9f1941e8bc6ad87beccb61a2d53111ba8ea (diff)
random changes made
Diffstat (limited to 'kernel/log.c')
-rw-r--r--kernel/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/log.c b/kernel/log.c
index 8f72b3a..ff6f45b 100644
--- a/kernel/log.c
+++ b/kernel/log.c
@@ -14,8 +14,8 @@ void dump_backtrace(u32 max_frames) {
kprintf(" 0x%x\n", stk->eip);
stk = stk->ebp;
}
- if (get_current_task()) {
- kprintf(" PID: %x\n", get_current_task()->pid);
+ if (current_task) {
+ kprintf(" PID: %x\n", current_task->pid);
}
}