diff options
| author | Dmitrij Tejblum <dt@FreeBSD.org> | 1999-02-08 21:32:38 +0000 |
|---|---|---|
| committer | Dmitrij Tejblum <dt@FreeBSD.org> | 1999-02-08 21:32:38 +0000 |
| commit | 7307d07db6d636b8690c330a65b857dbe1738364 (patch) | |
| tree | ff7ef06c4da289753c0ab5f95214f648a3626b95 /lib/libc/stdio/fgetpos.c | |
| parent | 0d35e40d61a162640b2963d3647050e33c66fab8 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/fgetpos.c')
| -rw-r--r-- | lib/libc/stdio/fgetpos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/fgetpos.c b/lib/libc/stdio/fgetpos.c index 7cac82eeab6b..eed7b13d0035 100644 --- a/lib/libc/stdio/fgetpos.c +++ b/lib/libc/stdio/fgetpos.c @@ -39,7 +39,7 @@ static char sccsid[] = "@(#)fgetpos.c 8.1 (Berkeley) 6/4/93"; #endif static const char rcsid[] = - "$Id: fgetpos.c,v 1.5 1997/02/22 15:01:53 peter Exp $"; + "$Id: fgetpos.c,v 1.6 1998/04/11 07:40:42 jb Exp $"; #endif /* LIBC_SCCS and not lint */ #include <stdio.h> @@ -52,7 +52,7 @@ fgetpos(fp, pos) { int retval; FLOCKFILE(fp); - retval = (*pos = ftell(fp)) == (fpos_t)-1; + retval = (*pos = ftello(fp)) == (fpos_t)-1; FUNLOCKFILE(fp); return(retval); } |
