summaryrefslogtreecommitdiff
path: root/src/kernel/execbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/execbuf.c')
-rw-r--r--src/kernel/execbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/execbuf.c b/src/kernel/execbuf.c
index fe9e159..71fc662 100644
--- a/src/kernel/execbuf.c
+++ b/src/kernel/execbuf.c
@@ -36,7 +36,7 @@ _Noreturn void execbuf_run(Proc *proc) {
case EXECBUF_JMP:
try_fetch(proc, buf, 1);
- proc->regs.rcx = buf[0];
+ proc->regs.rip = buf[0];
break;
default: