]> git.sur5r.net Git - cc65/commitdiff
Fixed a bug
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 21 Apr 2005 21:32:29 +0000 (21:32 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 21 Apr 2005 21:32:29 +0000 (21:32 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3486 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/common/putenv.s

index aec6d1b343cba75a687ff4054142132b8adc0d00..9584348f679723daef5613a430239580a7d52cb5 100644 (file)
@@ -10,7 +10,7 @@
         .import _malloc, _free
         .import searchenv, copyenvptr
         .import __environ, __envcount, __envsize
-        .import seterrno, return0
+        .import __seterrno, return0
         .import ptr1:zp, ptr2:zp, ptr3:zp, tmp1:zp
 
         .include "errno.inc"
@@ -180,7 +180,7 @@ addentry:
 ; Error entries
 
 nomem:  lda     #ENOMEM
-error: jsr     seterrno
+error: jsr     __seterrno
        lda     #$FF                    ; Return -1
        tax
        rts