diff options
Diffstat (limited to 'newlib/libc/stdio/fgets.c')
-rw-r--r-- | newlib/libc/stdio/fgets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/fgets.c b/newlib/libc/stdio/fgets.c index 7416187..7f02e3f 100644 --- a/newlib/libc/stdio/fgets.c +++ b/newlib/libc/stdio/fgets.c @@ -96,7 +96,7 @@ _DEFUN(_fgets_r, (ptr, buf, n, fp), s = buf; - CHECK_INIT(ptr); + CHECK_INIT(ptr, fp); _flockfile (fp); #ifdef __SCLE |