]> git.sur5r.net Git - cc65/commitdiff
fixed setting of errno
authorcpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 11 Aug 2000 22:14:21 +0000 (22:14 +0000)
committercpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 11 Aug 2000 22:14:21 +0000 (22:14 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@276 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/atari/lseek.s

index f9609f2ab7ab137813f33ea4a619981da20c9032..e8e63ef713c962d3c8df0e061b3769374ee073ac 100644 (file)
@@ -20,7 +20,7 @@
        lda     #<ENOSYS
        sta     __errno
        lda     #>ENOSYS
-       sta     __errno
+       sta     __errno+1
        ldx     #0
        stx     __oserror
        dex