From 148dc9e5bfbf0a4be28355d971e9e67973108911 Mon Sep 17 00:00:00 2001 From: cuz Date: Thu, 21 Apr 2005 21:32:29 +0000 Subject: [PATCH] Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@3486 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/common/putenv.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5