diff options
Diffstat (limited to 'dev/ZKA/Sources/PEFCodeManager.cxx')
| -rw-r--r-- | dev/ZKA/Sources/PEFCodeManager.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dev/ZKA/Sources/PEFCodeManager.cxx b/dev/ZKA/Sources/PEFCodeManager.cxx index 60b55efc..5b797ee3 100644 --- a/dev/ZKA/Sources/PEFCodeManager.cxx +++ b/dev/ZKA/Sources/PEFCodeManager.cxx @@ -199,8 +199,9 @@ namespace Kernel if (errOrStart.Error() != kErrorSuccess) return false; - UserProcess proc(errOrStart.Leak().Leak()); + UserProcess proc; + proc.SetEntrypoint(errOrStart.Leak().Leak()); proc.Kind = procKind; proc.StackSize = *(UIntPtr*)exec.FindSymbol("__STACK_SIZE", kPefData); |
