Now returns correct values.
authorkeie <none@none>
Mon, 4 Mar 1985 16:11:56 +0000 (16:11 +0000)
committerkeie <none@none>
Mon, 4 Mar 1985 16:11:56 +0000 (16:11 +0000)
mach/pmds4/libsys/fork.s

index b338b3e..beb6dba 100644 (file)
@@ -3,9 +3,11 @@
 _fork:         trap #0
 .short 0x2
                bra 1f
-               bcc 2f
-               jmp cerror
+               bcs 2f
+               rts
 2:
-               clr.l d0
+               jmp cerror
 1:
+               bcs     2b
+               clr.l   d0
                rts