From a8c5699241cf9e58c856cd9ae3e5c4566c55f419 Mon Sep 17 00:00:00 2001 From: keie Date: Mon, 4 Mar 1985 16:11:56 +0000 Subject: [PATCH] Now returns correct values. --- mach/pmds4/libsys/fork.s | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/mach/pmds4/libsys/fork.s b/mach/pmds4/libsys/fork.s index b338b3e1e..beb6dbade 100644 --- a/mach/pmds4/libsys/fork.s +++ b/mach/pmds4/libsys/fork.s @@ -3,9 +3,11 @@ _fork: trap #0 .short 0x2 bra 1f - bcc 2f - jmp cerror -2: - clr.l d0 -1: + bcs 2f + rts +2: + jmp cerror +1: + bcs 2b + clr.l d0 rts