summaryrefslogtreecommitdiff
path: root/lib/ftello.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2010-12-31 11:12:55 -0700
committerEric Blake <eblake@redhat.com>2010-12-31 11:12:55 -0700
commit1c9c8f5a430add1334080ff4e68233853a019816 (patch)
tree105c337e31c0c10c1e1ba805b16642ea79923a6c /lib/ftello.c
parent9dd43194a604772c35a91467b7fb65490f1374a3 (diff)
downloadgnulib-1c9c8f5a430add1334080ff4e68233853a019816.tar.gz
ftello: avoid compilation failure with SunStudio c89
* lib/ftello.c (ftello): Use lseek, not llseek. Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'lib/ftello.c')
-rw-r--r--lib/ftello.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftello.c b/lib/ftello.c
index 098e36ae58..864ff1cd0b 100644
--- a/lib/ftello.c
+++ b/lib/ftello.c
@@ -50,7 +50,7 @@ ftello (FILE *fp)
ftello (fp);
/* Compute the file position ourselves. */
- pos = llseek (fileno (fp), (off_t) 0, SEEK_CUR);
+ pos = lseek (fileno (fp), (off_t) 0, SEEK_CUR);
if (pos >= 0)
{
if ((fp_->_flag & _IONBF) == 0 && fp_->_base != NULL)