From a6999c88455e6453964f4b3eac7c11a9febeb5c2 Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Fri, 27 Jun 2014 15:36:41 +0200 Subject: [PATCH] runtime: fix Plan 9 build LGTM=0intro, aram R=rsc, 0intro, aram CC=golang-codereviews https://golang.org/cl/109240044 --- src/pkg/runtime/os_plan9.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pkg/runtime/os_plan9.c b/src/pkg/runtime/os_plan9.c index 61f315a6c6c..cf3480deac5 100644 --- a/src/pkg/runtime/os_plan9.c +++ b/src/pkg/runtime/os_plan9.c @@ -19,6 +19,7 @@ runtime·mpreinit(M *mp) { // Initialize stack and goroutine for note handling. mp->gsignal = runtime·malg(32*1024); + mp->gsignal->m = mp; mp->notesig = (int8*)runtime·malloc(ERRMAX*sizeof(int8)); // Initialize stack for handling strings from the