diff options
Diffstat (limited to 'tests/common/sys.h')
| -rw-r--r-- | tests/common/sys.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/common/sys.h b/tests/common/sys.h index 3e98abf..0bee8bd 100644 --- a/tests/common/sys.h +++ b/tests/common/sys.h @@ -240,7 +240,7 @@ static inline enum sys_status sys_exec(uintptr_t bin, uintptr_t interp) /* negative IDs mean errors */ static inline id_t sys_spawn(uintptr_t bin, uintptr_t interp) { - struct sys_ret r = syscall2(SYS_EXEC, bin, interp); + struct sys_ret r = syscall2(SYS_SPAWN, bin, interp); return r.s; } |
