commit b1e87845235beaa7a21784c7914303fca35a2014 parent 4f8c309d607ed36671b0821f71a1ff3514481153 Author: Russ Cox <rsc@swtch.com> Date: Sun, 29 Jun 2008 22:01:24 -0400 9vx: kexit in forkret to set pid (thanks to Anthony Martin) Diffstat:
src/9vx/vx32.c | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/9vx/vx32.c b/src/9vx/vx32.c @@ -186,6 +186,9 @@ setclock(int start) void forkret(void) { + extern void kexit(Ureg*); + + kexit(nil); touser(0); }