1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-08 06:25:17 +00:00

Fixed a comment regarding errno/oserror.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4691 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2010-06-03 20:26:33 +00:00
parent 63b629b801
commit 00222e41ab

View File

@@ -115,7 +115,7 @@
pha pha
; Copy the buffer pointer into ptr1, and increment the pointer value passed ; Copy the buffer pointer into ptr1, and increment the pointer value passed
; to read() by one, so read() starts to store data at buf+1. ; to read() by one, so read() starts to store data at buf+1.
ldy #0 ldy #0
@@ -160,8 +160,8 @@
cmp #$FF cmp #$FF
bne @L8 bne @L8
; Error in read. Set the stream error flag and bail out. _oserror and/or ; Error in read. Set the stream error flag and bail out. errno has already
; errno are already set by read(). On entry to label @L7, X must be zero. ; been set by read(). On entry to label @L7, X must be zero.
inx ; X = 0 inx ; X = 0
lda #_FERROR lda #_FERROR