aboutsummaryrefslogtreecommitdiff
path: root/tests/common/sys.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-11-02 16:02:41 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2024-11-02 16:02:41 +0200
commit21efbba39340300a7ba9d5f4f94017f5ff956833 (patch)
treec9116d4e38a574a8edae7cdcebcd7569af9cb5a7 /tests/common/sys.h
parentd127146846f4d6561e15000d1469b715dafdb627 (diff)
downloadkmi-21efbba39340300a7ba9d5f4f94017f5ff956833.tar.gz
kmi-21efbba39340300a7ba9d5f4f94017f5ff956833.zip
intial working sys_spawn
Diffstat (limited to 'tests/common/sys.h')
-rw-r--r--tests/common/sys.h2
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;
}