diff options
| author | 1997-02-28 16:07:30 +0000 | |
|---|---|---|
| committer | 1997-02-28 16:07:30 +0000 | |
| commit | c12c763176a69ed13343cbcd2f1770542951b917 (patch) | |
| tree | d40e63984780afa7748969ed56f15e857b26877c /lib/libpthread | |
| parent | cannot lseek(2) on a (FILE *) (diff) | |
| download | wireguard-openbsd-c12c763176a69ed13343cbcd2f1770542951b917.tar.xz wireguard-openbsd-c12c763176a69ed13343cbcd2f1770542951b917.zip | |
back out change
Diffstat (limited to 'lib/libpthread')
| -rw-r--r-- | lib/libpthread/stdio/ftell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/stdio/ftell.c b/lib/libpthread/stdio/ftell.c index e112c731024..a813892beb9 100644 --- a/lib/libpthread/stdio/ftell.c +++ b/lib/libpthread/stdio/ftell.c @@ -36,7 +36,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)ftell.c 5.4 (Berkeley) 2/5/91";*/ -static char *rcsid = "$Id: ftell.c,v 1.2 1997/02/28 15:41:45 kstailey Exp $"; +static char *rcsid = "$Id: ftell.c,v 1.3 1997/02/28 16:07:30 kstailey Exp $"; #endif /* LIBC_SCCS and not lint */ #include <pthread.h> @@ -62,7 +62,7 @@ ftell(fp) if (fp->_flags & __SOFF) pos = fp->_offset; else { - pos = lseek(fileno(fp), (fpos_t)0, SEEK_CUR); + pos = lseek(fp, (fpos_t)0, SEEK_CUR); } if (pos != -1L) { |
