diff options
Diffstat (limited to 'newlib/libc/stdio/rget.c')
-rw-r--r-- | newlib/libc/stdio/rget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/rget.c b/newlib/libc/stdio/rget.c index 0a1cc147f..9474bd9f6 100644 --- a/newlib/libc/stdio/rget.c +++ b/newlib/libc/stdio/rget.c @@ -38,7 +38,7 @@ _DEFUN(__srget_r, (ptr, fp), { /* Ensure that any fake std stream is resolved before we call __srefill_r so we may access the true read buffer. */ - CHECK_INIT(fp); + CHECK_INIT(ptr, fp); if (__srefill_r (ptr, fp) == 0) { |