summaryrefslogtreecommitdiff
path: root/src/stdio/fopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/fopen.c')
-rw-r--r--src/stdio/fopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdio/fopen.c b/src/stdio/fopen.c
index 8abf7709..95130917 100644
--- a/src/stdio/fopen.c
+++ b/src/stdio/fopen.c
@@ -5,7 +5,7 @@
/** open a file stream **/
FILE * fopen(const char * restrict filename, const char * restrict mode)
{
- struct __FILE *base = __libc(FILE_STREAMS);
+ struct __FILE *base = __stdio.FILES;
struct __FILE *f = base;
/* find the next available stream */