From e3a6f3b6e18213e0546254179f991795fb5669a2 Mon Sep 17 00:00:00 2001 From: cuz Date: Tue, 18 Jul 2000 21:30:48 +0000 Subject: [PATCH] Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@166 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/common/fdopen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/common/fdopen.c b/libsrc/common/fdopen.c index 896c98332..ee0f07ee5 100644 --- a/libsrc/common/fdopen.c +++ b/libsrc/common/fdopen.c @@ -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; }