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