From 21efbba39340300a7ba9d5f4f94017f5ff956833 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 2 Nov 2024 16:02:41 +0200 Subject: intial working sys_spawn --- tests/common/sys.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/common') 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; } -- cgit v1.3