diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-11-02 16:02:41 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-11-02 16:02:41 +0200 |
| commit | 21efbba39340300a7ba9d5f4f94017f5ff956833 (patch) | |
| tree | c9116d4e38a574a8edae7cdcebcd7569af9cb5a7 /tests/common | |
| parent | d127146846f4d6561e15000d1469b715dafdb627 (diff) | |
| download | kmi-21efbba39340300a7ba9d5f4f94017f5ff956833.tar.gz kmi-21efbba39340300a7ba9d5f4f94017f5ff956833.zip | |
intial working sys_spawn
Diffstat (limited to 'tests/common')
| -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; } |
