diff options
Diffstat (limited to 'src/pkg/runtime/proc.c')
-rw-r--r-- | src/pkg/runtime/proc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pkg/runtime/proc.c b/src/pkg/runtime/proc.c index c4783d8cf..cc48b61de 100644 --- a/src/pkg/runtime/proc.c +++ b/src/pkg/runtime/proc.c @@ -775,7 +775,7 @@ void newproc1(fn, (byte*)(&fn+1), siz, 0); } -void +G* newproc1(byte *fn, byte *argp, int32 narg, int32 nret) { byte *sp; @@ -815,6 +815,7 @@ newproc1(byte *fn, byte *argp, int32 narg, int32 nret) newprocreadylocked(newg); unlock(&sched); + return newg; //printf(" goid=%d\n", newg->goid); } |