summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio64/ftello64.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio64/ftello64.c')
-rw-r--r--newlib/libc/stdio64/ftello64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio64/ftello64.c b/newlib/libc/stdio64/ftello64.c
index cad175b87..b596d3234 100644
--- a/newlib/libc/stdio64/ftello64.c
+++ b/newlib/libc/stdio64/ftello64.c
@@ -111,7 +111,7 @@ _DEFUN (_ftello64_r, (ptr, fp),
pos = fp->_offset;
else
{
- pos = (*fp->_seek64) (fp->_cookie, (_fpos64_t) 0, SEEK_CUR);
+ pos = fp->_seek64 (ptr, fp->_cookie, (_fpos64_t) 0, SEEK_CUR);
if (pos == -1L)
{
_funlockfile(fp);