summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fseek.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-08-23 14:49:02 +0000
committerache <ache@FreeBSD.org>2001-08-23 14:49:02 +0000
commitd56c927547c0a5990fba6dc630e05e3f8ec14282 (patch)
treec76dfbcc00c01f0ef34cdd0c200e7d2125e4252b /lib/libc/stdio/fseek.c
parentf79f77e5f9a37f72d4cf3be9aa2a42eee6cd8e9e (diff)
downloadFreeBSD-src-d56c927547c0a5990fba6dc630e05e3f8ec14282.zip
FreeBSD-src-d56c927547c0a5990fba6dc630e05e3f8ec14282.tar.gz
Cosmetique: correct English in comments
Diffstat (limited to 'lib/libc/stdio/fseek.c')
-rw-r--r--lib/libc/stdio/fseek.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/fseek.c b/lib/libc/stdio/fseek.c
index 0e77b1e..a04a628 100644
--- a/lib/libc/stdio/fseek.c
+++ b/lib/libc/stdio/fseek.c
@@ -143,7 +143,7 @@ _fseeko(fp, offset, whence, ltest)
} else if (fp->_flags & __SWR && fp->_p != NULL)
curoff += fp->_p - fp->_bf._base;
- /* curoff always >= 0 */
+ /* 'curoff' is always >= 0 */
if (offset > 0 && curoff > OFF_MAX - offset) {
errno = EOVERFLOW;
return (EOF);
@@ -210,7 +210,7 @@ _fseeko(fp, offset, whence, ltest)
else {
if (_fstat(fp->_file, &st))
goto dumb;
- /* st.st_size always >= 0 */
+ /* 'st.st_size' is always >= 0 */
if (offset > 0 && st.st_size > OFF_MAX - offset) {
errno = EOVERFLOW;
return (EOF);
OpenPOWER on IntegriCloud