summaryrefslogtreecommitdiffstats
path: root/lib/libc/i386/sys/rfork.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/i386/sys/rfork.S')
-rw-r--r--lib/libc/i386/sys/rfork.S10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libc/i386/sys/rfork.S b/lib/libc/i386/sys/rfork.S
index 189d399..c1e85e6 100644
--- a/lib/libc/i386/sys/rfork.S
+++ b/lib/libc/i386/sys/rfork.S
@@ -33,17 +33,21 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: rfork.S,v 1.1 1996/02/23 19:56:47 peter Exp $
*/
#if defined(SYSLIBC_RCS) && !defined(lint)
.text
- .asciz "$Id$"
+ .asciz "$Id: rfork.S,v 1.1 1996/02/23 19:56:47 peter Exp $"
#endif /* SYSLIBC_RCS and not lint */
#include "SYS.h"
-PSYSCALL(rfork)
+#ifdef _THREAD_SAFE
+PSYSCALL(rfork,_thread_sys_rfork)
+#else
+SYSCALL(rfork)
+#endif
cmpl $0,%edx /* parent, since %edx == 0 in parent, 1 in child */
je 1f
movl $0,%eax
OpenPOWER on IntegriCloud