1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-15 17:30:06 +00:00

Fixed a bug

git-svn-id: svn://svn.cc65.org/cc65/trunk@166 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2000-07-18 21:30:48 +00:00
parent 81b48cb07b
commit e3a6f3b6e1

View File

@ -20,7 +20,7 @@ FILE* fdopen (int handle, char* /*mode*/)
/* Find a free file slot */
if (!(f = _fdesc ())) {
/* No slots */
errno = EMFILE; /* Too many files */
_errno = EMFILE; /* Too many files */
return 0;
}