From d7aaac7e71e869fd9af801800b2c51323b999f14 Mon Sep 17 00:00:00 2001 From: uz Date: Thu, 3 Jun 2010 21:10:22 +0000 Subject: [PATCH] Return EUNKNOWN instead of EINVAL if the error code cannot be mapped. git-svn-id: svn://svn.cc65.org/cc65/trunk@4695 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/cbm/oserror.s | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libsrc/cbm/oserror.s b/libsrc/cbm/oserror.s index 3fa7b3e1e..1f40685cb 100644 --- a/libsrc/cbm/oserror.s +++ b/libsrc/cbm/oserror.s @@ -18,10 +18,10 @@ __osmaperrno: dex bne @L1 ; Next entry -; Code not found, return EINVAL +; Code not found, return EUNKNOWN - lda #EINVAL + lda #EUNKNOWN rts ; Found the code -- 2.39.5