aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_bsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/common_bsd.h')
-rw-r--r--executor/common_bsd.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/executor/common_bsd.h b/executor/common_bsd.h
index a9c4933db..ff450f94a 100644
--- a/executor/common_bsd.h
+++ b/executor/common_bsd.h
@@ -51,13 +51,11 @@ static void segv_handler(int sig, siginfo_t* info, void* uctx)
const uintptr_t prog_start = 1 << 20;
const uintptr_t prog_end = 100 << 20;
if (__atomic_load_n(&skip_segv, __ATOMIC_RELAXED) && (addr < prog_start || addr > prog_end)) {
- debug("SIGSEGV on %p, skipping\n", addr);
+ debug("SIGSEGV on %p, skipping\n", (void*)addr);
_longjmp(segv_env, 1);
}
- debug("SIGSEGV on %p, exiting\n", addr);
+ debug("SIGSEGV on %p, exiting\n", (void*)addr);
doexit(sig);
- for (;;) {
- }
}
static void install_segv_handler()