aboutsummaryrefslogtreecommitdiff
path: root/kernel/features/load.c
diff options
context:
space:
mode:
authorMarvin Borner2020-08-22 21:58:07 +0200
committerMarvin Borner2020-08-22 21:58:07 +0200
commit32f63ffc96f7f7ec6c504b8f50292316f026dd21 (patch)
treeead182bca5c38ddde00ecd706ae3fc3ca6981142 /kernel/features/load.c
parent8bb7b5cceaaf96a5dd6321d35aae28748896d87b (diff)
Fixed events
Diffstat (limited to 'kernel/features/load.c')
-rw-r--r--kernel/features/load.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/features/load.c b/kernel/features/load.c
index 1f1c898..8aa28b8 100644
--- a/kernel/features/load.c
+++ b/kernel/features/load.c
@@ -18,7 +18,6 @@ int bin_load(char *path, struct proc *proc)
u32 stack = (u32)malloc(0x2000) + 0x1000;
proc->regs.ebp = (u32)stack;
- proc->regs.esp = (u32)stack;
proc->regs.useresp = (u32)stack;
proc->regs.eip = (u32)data;
strcpy(proc->name, path + 1);