summaryrefslogtreecommitdiff
path: root/src/user/lib/elfload.c
diff options
context:
space:
mode:
authordzwdz2022-07-26 20:40:29 +0200
committerdzwdz2022-07-26 20:44:29 +0200
commit599c916d4cdd06765e0869b0a4d685820384f500 (patch)
tree7355c35189a4b6e92249f59c76e6d89d5b432f29 /src/user/lib/elfload.c
parent350124fb4cfefc90c8f4a60de3da3c5d7da44f01 (diff)
user: posix-compatible FILE* opening
Diffstat (limited to 'src/user/lib/elfload.c')
-rw-r--r--src/user/lib/elfload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/lib/elfload.c b/src/user/lib/elfload.c
index a30fd7c..75c1162 100644
--- a/src/user/lib/elfload.c
+++ b/src/user/lib/elfload.c
@@ -7,7 +7,7 @@
#include <user/lib/elf.h>
#include <user/lib/elfload.h>
-void elf_execf(libc_file *f) {
+void elf_execf(FILE *f) {
const size_t cap = 0x60000;
size_t pos = 0;
void *buf = malloc(cap); // TODO a way to get file size