fix some errno related stuff, "make all" works again

This commit is contained in:
mrdudz
2022-08-28 22:09:44 +02:00
parent 2dabb65ee0
commit 54aff47513
7 changed files with 25 additions and 12 deletions

View File

@@ -19,9 +19,9 @@ _strerror:
; The given error code is invalid
@L1: lda #<EINVAL
sta __errno
sta ___errno
lda #>EINVAL ; = 0
sta __errno+1
sta ___errno+1
; lda #$00 ; A contains zero: "Unknown error"
; Load the pointer to the error message and return