aboutsummaryrefslogtreecommitdiff
path: root/kernel/features/load.c
diff options
context:
space:
mode:
authorMarvin Borner2021-02-25 20:45:10 +0100
committerMarvin Borner2021-02-25 20:45:10 +0100
commita9710cb73cc9ecadaff241428a39a26935cb5c0a (patch)
tree68f509407bc49a4da43ccadfd9115b9e6f7eb413 /kernel/features/load.c
parent26587adae4f5ec61d03fd7075805a24b29107fe3 (diff)
Applied even more warning flags!
Fixing all the warnings wasn't that easy actually..
Diffstat (limited to 'kernel/features/load.c')
-rw-r--r--kernel/features/load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/features/load.c b/kernel/features/load.c
index 3e1ea8e..f79e6b4 100644
--- a/kernel/features/load.c
+++ b/kernel/features/load.c
@@ -14,7 +14,7 @@ void proc_load(struct proc *proc, void *data)
proc->regs.eip = (u32)data;
}
-int bin_load(char *path, struct proc *proc)
+int bin_load(const char *path, struct proc *proc)
{
// TODO: Remove hardcoded filesize
struct stat s = { 0 };