summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/fdopen.c
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-09-02 19:10:10 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-09-02 19:10:10 +0000
commit924888f977ae2a2b4025a530e2b63d0b8a62e758 (patch)
treebe15c0be354e09f766522b411a1ad2af5d566a99 /lib/libc/stdio/fdopen.c
parent9c552a1fd7aa383ebd2d1e6fcb549fe07162074d (diff)
Notes
Diffstat (limited to 'lib/libc/stdio/fdopen.c')
-rw-r--r--lib/libc/stdio/fdopen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/fdopen.c b/lib/libc/stdio/fdopen.c
index 2e72e7175a5a..30bf5b9a115a 100644
--- a/lib/libc/stdio/fdopen.c
+++ b/lib/libc/stdio/fdopen.c
@@ -78,8 +78,8 @@ fdopen(fd, mode)
fp->_flags = flags;
/*
* If opened for appending, but underlying descriptor does not have
- * O_APPEND bit set, assert __SAPP so that __swrite() will lseek to
- * end before each write.
+ * O_APPEND bit set, assert __SAPP so that __swrite() caller
+ * will _sseek() to the end before write.
*/
if ((oflags & O_APPEND) && !(fdflags & O_APPEND))
fp->_flags |= __SAPP;