diff options
author | Marvin Borner | 2020-08-23 12:19:20 +0200 |
---|---|---|
committer | Marvin Borner | 2020-08-23 12:19:20 +0200 |
commit | b1faf9042c5104d7dafc7d880817def934086ddb (patch) | |
tree | 4abe87a6d83aaad17eebd291f2fe046e6a1324a6 /kernel/features/proc.c | |
parent | b667ea0fbd26af222f828199e7b9a7e62ad98081 (diff) |
How did this work before?!
I used r->eax instead of r->ebx in malloc :O
Diffstat (limited to 'kernel/features/proc.c')
-rw-r--r-- | kernel/features/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/features/proc.c b/kernel/features/proc.c index 1c0b443..ac62195 100644 --- a/kernel/features/proc.c +++ b/kernel/features/proc.c @@ -43,7 +43,7 @@ void scheduler(struct regs *regs) current = proc_list->head; while (!current) { - if (!current || !current->next || !current->next->data) { + if (!current->next || !current->next->data) { assert(proc_list->head); current = proc_list->head; } else { |