From: cuz Date: Thu, 21 Apr 2005 21:32:29 +0000 (+0000) Subject: Fixed a bug X-Git-Tag: V2.12.0~355 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=148dc9e5bfbf0a4be28355d971e9e67973108911;p=cc65 Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@3486 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/common/putenv.s b/libsrc/common/putenv.s index aec6d1b34..9584348f6 100644 --- a/libsrc/common/putenv.s +++ b/libsrc/common/putenv.s @@ -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