mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 00:29:31 +00:00
Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@3486 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
533e8eb9b7
commit
148dc9e5bf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user