aboutsummaryrefslogtreecommitdiff
path: root/libbb/full_write.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/full_write.c')
-rw-r--r--libbb/full_write.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/full_write.c b/libbb/full_write.c
index 2b7983f4c..15766fc6c 100644
--- a/libbb/full_write.c
+++ b/libbb/full_write.c
@@ -11,7 +11,8 @@
/*
* Write all of the supplied buffer out to a file.
* This does multiple writes as necessary.
- * Returns the amount written, or -1 on an error.
+ * Returns the amount written, or -1 if error was seen
+ * on the very first write.
*/
ssize_t FAST_FUNC full_write(int fd, const void *buf, size_t len)
{