diff options
Diffstat (limited to 'executor/executor_bsd.h')
| -rw-r--r-- | executor/executor_bsd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/executor/executor_bsd.h b/executor/executor_bsd.h index 1af99f4fc..d88922417 100644 --- a/executor/executor_bsd.h +++ b/executor/executor_bsd.h @@ -47,7 +47,11 @@ static intptr_t execute_syscall(const call_t* c, intptr_t a[kMaxArgs]) { if (c->call) return c->call(a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8]); +#if GOOS_openbsd + failmsg("no call", "missing target for %s", c->name); +#else return __syscall(c->sys_nr, a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8]); +#endif } static void cover_open(cover_t* cov, bool extra) |
