diff --git a/kernel/aster-nix/src/arch/x86/cpu.rs b/kernel/aster-nix/src/arch/x86/cpu.rs index 3bb49ce1b..4eda6f996 100644 --- a/kernel/aster-nix/src/arch/x86/cpu.rs +++ b/kernel/aster-nix/src/arch/x86/cpu.rs @@ -69,7 +69,7 @@ pub struct GpRegs { macro_rules! copy_gp_regs { ($src: ident, $dst: ident) => { $dst.rax = $src.rax; - $dst.rbx = $src.rax; + $dst.rbx = $src.rbx; $dst.rcx = $src.rcx; $dst.rdx = $src.rdx; $dst.rsi = $src.rsi;