aboutsummaryrefslogtreecommitdiff
path: root/src/elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/elf.c')
-rw-r--r--src/elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elf.c b/src/elf.c
index 9add641..5c2f9bd 100644
--- a/src/elf.c
+++ b/src/elf.c
@@ -46,7 +46,7 @@ static uint8_t __elf_to_uvflags(uint8_t elf_flags)
static void __map_exec(struct tcb *t, vm_t bin, uint8_t ei_c, vm_t phstart,
size_t phnum, size_t phsize)
{
- hard_assert(t && is_proc(t), RETURN_VOID);
+ assert(t && is_proc(t));
/** \todo take alignment into consideration? */
/** \todo take overlapping memory regions into account, probably mostly