summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wrapper/wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapper/wrapper.c b/src/wrapper/wrapper.c
index f1190c8..07d3239 100644
--- a/src/wrapper/wrapper.c
+++ b/src/wrapper/wrapper.c
@@ -63,7 +63,7 @@ wrapper_create(const char *const symbol, void *function)
memcpy(fun + (&wrapper_trace - &wrapper_start) + 1, (uintptr_t[]){ (uintptr_t)trace }, sizeof(uintptr_t));
memcpy(fun + (&wrapper_call - &wrapper_start) + 1, &function, sizeof(function));
#else
-# error "should not happen"
+# error "you forgot to implement the pointer setups for your asm platform"
#endif
mprotect(fun, sz, PROT_READ | PROT_EXEC);
return fun;