Fix sys_clone () wrong argument bug
All checks were successful
Build documentation / build-and-deploy (push) Successful in 26s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 26s
This commit is contained in:
@@ -81,7 +81,7 @@ DEFINE_SYSCALL (sys_unmap) {
|
||||
/* int clone (uintptr_t vstack_top, void* entry) */
|
||||
DEFINE_SYSCALL (sys_clone) {
|
||||
uintptr_t vstack_top = a1;
|
||||
uintptr_t entry = a3;
|
||||
uintptr_t entry = a2;
|
||||
|
||||
struct proc* new = proc_clone (proc, vstack_top, entry);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user