aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/fs/elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/fs/elf.c')
-rw-r--r--src/kernel/fs/elf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/fs/elf.c b/src/kernel/fs/elf.c
index 9ca98f0..a4c78ba 100644
--- a/src/kernel/fs/elf.c
+++ b/src/kernel/fs/elf.c
@@ -40,7 +40,7 @@ struct process *elf_load(char *path)
}
struct process *proc = process_make_new();
- proc->name = "ROOT";
+ proc->name = path;
proc->registers.eip = header->entry;
paging_switch_directory(proc->cr3);
@@ -71,4 +71,4 @@ struct process *elf_load(char *path)
paging_switch_directory(paging_root_directory);
return proc;
-} \ No newline at end of file
+}