From 115f4ff541839f7a97f9413e1ac3ff7695c24c9e Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 1 Aug 2020 15:59:39 +0200 Subject: Switched to PIE flat binaries --- src/main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 283d937..68993ba 100644 --- a/src/main.c +++ b/src/main.c @@ -3,11 +3,11 @@ #include "config.h" #include #include -#include #include #include #include #include +#include #include #include #include @@ -42,8 +42,7 @@ void main(struct mem_info *mem_info, struct vid_info *vid_info) gui_init(FONT_PATH); gui_term_write("Wake up, " USERNAME "...\n"); - elf_load("/test"); - printf("loaded"); + bin_load("/test"); while (1) { }; -- cgit v1.2.3