diff options
Diffstat (limited to 'src/stdio/fopen.c')
-rw-r--r-- | src/stdio/fopen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stdio/fopen.c b/src/stdio/fopen.c index dfb4f27c..824c8f30 100644 --- a/src/stdio/fopen.c +++ b/src/stdio/fopen.c @@ -15,8 +15,8 @@ FILE * fopen(const char * restrict filename, const char * restrict mode) ASSERT_NOOVERLAP(filename, strlen(filename), mode, strlen(mode)); for (i = 0; i < FOPEN_MAX; i++) { - if (__stdio.FILES[i].bmode == 0) { - f = &(__stdio.FILES[i]); + if (__stdio_h.FILES[i].bmode == 0) { + f = &(__stdio_h.FILES[i]); break; } } |