diff --git a/mach/m68k4/libsys/dup2.s b/mach/m68k4/libsys/dup2.s index 9d5a20ef9..2924bc822 100644 --- a/mach/m68k4/libsys/dup2.s +++ b/mach/m68k4/libsys/dup2.s @@ -4,5 +4,5 @@ _dup2: move.w #0x29,d0 move.l 4(sp),a0 move.l 8(sp),d1 - or.l #0x40,a0 + add.l #0x40,a0 jmp call diff --git a/mach/m68k4/libsys/pipe.s b/mach/m68k4/libsys/pipe.s index 2cb786e37..8d5edc605 100644 --- a/mach/m68k4/libsys/pipe.s +++ b/mach/m68k4/libsys/pipe.s @@ -1,7 +1,7 @@ .define _pipe .extern _pipe _pipe: - mov.w #0x2A,d0 + move.w #0x2A,d0 trap #0 bcc 1f jmp cerror