]> git.sur5r.net Git - cc65/blobdiff - libsrc/common/signal.s
The spans do now contain the size of a span, no longer the end offset.
[cc65] / libsrc / common / signal.s
index 5d2b7ebc1bcf15be8687bf8332b4e884f8fd2e7b..9327ca89c33f55d820d5192a85c06d71279d1141 100644 (file)
@@ -61,9 +61,7 @@ __sig_ign:
 
 invalidsig:
         lda     #<EINVAL
-        sta     __errno
-        lda     #>EINVAL        ; A = 0
-        sta     __errno+1
+        jsr     __seterrno      ; Returns 0 in A
         tax                     ; A/X = 0
 __sig_dfl:
         rts