diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2005-12-25 00:46:09 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2005-12-25 00:46:09 +0000 |
commit | bd590fc44afe435ebf306e23d7d1adbd27077516 (patch) | |
tree | 6bd57cd4e10e294e6599fc57582d653b6ec36024 /lib/librthread/arch | |
parent | 483f7ffbfb50f6eb687b8859d8ad86a019169506 (diff) |
child calls threxit after thread return
Diffstat (limited to 'lib/librthread/arch')
-rw-r--r-- | lib/librthread/arch/powerpc/rfork_thread.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/librthread/arch/powerpc/rfork_thread.S b/lib/librthread/arch/powerpc/rfork_thread.S index dd6a4d3f241..6c8abd7c153 100644 --- a/lib/librthread/arch/powerpc/rfork_thread.S +++ b/lib/librthread/arch/powerpc/rfork_thread.S @@ -1,4 +1,4 @@ -/* $OpenBSD: rfork_thread.S,v 1.1 2005/12/04 04:09:33 brad Exp $ */ +/* $OpenBSD: rfork_thread.S,v 1.2 2005/12/25 00:46:08 tedu Exp $ */ /* * Copyright (c) 2005 Tim Wiess <tim@nop.cx> @@ -45,7 +45,7 @@ ENTRY(rfork_thread) blrl /* child returned, call _exit */ - li %r0, SYS_exit + li %r0, SYS_threxit sc 1: li %r3, -1 |