X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/2bcb7a074fa1b63e5954092bdcb8752915d3e9e6..946c3fdd31300074cc78841795bd47af908ddddb:/lunaix-os/kernel/exe/exec.c diff --git a/lunaix-os/kernel/exe/exec.c b/lunaix-os/kernel/exe/exec.c index 3c4e253..a846126 100644 --- a/lunaix-os/kernel/exe/exec.c +++ b/lunaix-os/kernel/exe/exec.c @@ -220,7 +220,7 @@ __DEFINE_LXSYSCALL3(int, // we will jump to new entry point (_u_start) upon syscall's // return so execve 'will not return' from the perspective of it's invoker - volatile struct exec_param* execp = __current->intr_ctx.execp; + volatile struct exec_param* execp = __current->intr_ctx->execp; execp->esp = container.stack_top; execp->eip = container.exe.entry;