Skip to content

Commit 73392fc

Browse files
Joel Singsourcegraph-bot
Joel Sing
authored and
sourcegraph-bot
committed
go: runtime: change tfork behaviour to unbreak openbsd/mips64
Commit: e84ce0802dac6d5a780acc2f54113b55f49f4b07
1 parent f04de34 commit 73392fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/src/runtime/sys_openbsd_mips64.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ TEXT runtime·tfork(SB),NOSPLIT,$0
277277

278278
// In parent, return.
279279
BEQ R2, 3(PC)
280-
MOVW R2, ret+40(FP)
280+
MOVW $0, ret+40(FP)
281281
RET
282282

283283
// Initialise m, g.

0 commit comments

Comments
 (0)