diff --git a/src/runtime/sys_dragonfly_amd64.s b/src/runtime/sys_dragonfly_amd64.s index 3dae2a79df..7e8dc1bbc3 100644 --- a/src/runtime/sys_dragonfly_amd64.s +++ b/src/runtime/sys_dragonfly_amd64.s @@ -125,8 +125,8 @@ TEXT runtime·raise(SB),NOSPLIT,$16 MOVL $496, AX // lwp_gettid SYSCALL MOVQ $-1, DI // arg 1 - pid - MOVQ 8(SP), DI // arg 2 - tid - MOVL sig+0(FP), SI // arg 3 - signum + MOVQ AX, SI // arg 2 - tid + MOVL sig+0(FP), DX // arg 3 - signum MOVL $497, AX // lwp_kill SYSCALL RET