aboutsummaryrefslogtreecommitdiff
path: root/src/features/load.c
diff options
context:
space:
mode:
authorMarvin Borner2020-08-01 20:55:53 +0200
committerMarvin Borner2020-08-01 20:55:53 +0200
commitb7f59b28b380d55f9e7abd8e450f1f9c7f050221 (patch)
treec6b89fa0ff2bebd5ed06a4384d766990bcb42c0a /src/features/load.c
parent1686173757af4e453e7a32d152ec4bd20d789652 (diff)
Added syscalls
Diffstat (limited to 'src/features/load.c')
-rw-r--r--src/features/load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/load.c b/src/features/load.c
index 2cfa546..62da8b4 100644
--- a/src/features/load.c
+++ b/src/features/load.c
@@ -13,5 +13,5 @@ void bin_load(char *path, struct proc *proc)
proc->regs.ebp = stack;
proc->regs.esp = stack;
- proc->regs.eip = (u32)&data;
+ proc->regs.eip = (u32)data;
}