diff --git a/libsrc/common/oserrcheck.s b/libsrc/common/oserrcheck.s index b891e75f1..b5887e924 100644 --- a/libsrc/common/oserrcheck.s +++ b/libsrc/common/oserrcheck.s @@ -21,7 +21,7 @@ jsr __osmaperrno ; Map os error into errno code jsr __seterrno ; Save in errno lda #$FF ; Return -1 - tax ; Make high byte also zero + tax ok: rts .endproc