X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fftello.c;h=fbdc44f2ea8691a00c626054a66fb3e7413544f3;hb=721f56dcf49f8f004f609cc966f876922faad1a8;hp=098e36ae58b0c7306baaf1e853b5a7882136d825;hpb=90735e334e89048c011e5f01eca366f1118bb640;p=gnulib.git diff --git a/lib/ftello.c b/lib/ftello.c index 098e36ae5..fbdc44f2e 100644 --- a/lib/ftello.c +++ b/lib/ftello.c @@ -1,5 +1,5 @@ /* An ftello() function that works around platform bugs. - Copyright (C) 2007, 2009-2010 Free Software Foundation, Inc. + Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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)