From: ol.sc Date: Sun, 7 Oct 2012 20:20:54 +0000 (+0000) Subject: Clear _oserror on success. X-Git-Tag: V2.14~233 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5d4a441dd833a7d4fa70bc2deab98c92b991468b;p=cc65 Clear _oserror on success. git-svn-id: svn://svn.cc65.org/cc65/trunk@5841 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/cbm/devicedir.s b/libsrc/cbm/devicedir.s index 93e1845c0..c4cda7f00 100644 --- a/libsrc/cbm/devicedir.s +++ b/libsrc/cbm/devicedir.s @@ -86,7 +86,8 @@ errno: jsr __seterrno ; Returns 0 in A ; Copy device string representation into buf okay: lda fnunit - jsr devicestr + jsr devicestr ; Returns 0 in A + sta __oserror ; Clear _oserror ; Success, return buf