diff options
author | Marvin Borner | 2021-01-11 19:24:45 +0100 |
---|---|---|
committer | Marvin Borner | 2021-01-11 19:24:45 +0100 |
commit | 9ac1eda2988b6c7472a24817f4fd623de28a33f5 (patch) | |
tree | daac0f3f678a2be542eff36ebf144869c957626b /kernel/features/load.c | |
parent | 856b362a4b68d5776ea37dc30a50e7414288d877 (diff) |
Much work..
Diffstat (limited to 'kernel/features/load.c')
-rw-r--r-- | kernel/features/load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/features/load.c b/kernel/features/load.c index 1eb34d3..f7fc1a5 100644 --- a/kernel/features/load.c +++ b/kernel/features/load.c @@ -22,7 +22,7 @@ int bin_load(char *path, struct proc *proc) proc->regs.ebp = (u32)stack; proc->regs.useresp = (u32)stack; proc->regs.eip = (u32)data; - strcpy(proc->name, path + 1); + strcpy(proc->name, path); return data ? 0 : 1; } |