aboutsummaryrefslogtreecommitdiff
path: root/pk/elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'pk/elf.c')
-rw-r--r--pk/elf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pk/elf.c b/pk/elf.c
index 7107d1c..2740319 100644
--- a/pk/elf.c
+++ b/pk/elf.c
@@ -1,6 +1,7 @@
// See LICENSE for license details.
#include "mmap.h"
+#include "pk.h"
#include "mtrap.h"
#include "boot.h"
#include "bits.h"
@@ -69,5 +70,5 @@ void load_elf(const char* fn, elf_info* info)
return;
fail:
- die("couldn't open ELF program: %s!", fn);
+ panic("couldn't open ELF program: %s!", fn);
}