aboutsummaryrefslogtreecommitdiff
path: root/libbb/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/read.c')
-rw-r--r--libbb/read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/read.c b/libbb/read.c
index fb903c18a..fa9874d31 100644
--- a/libbb/read.c
+++ b/libbb/read.c
@@ -203,8 +203,8 @@ ssize_t open_read_close(const char *filename, void *buf, size_t size)
return read_close(fd, buf, size);
}
-// Read (potentially big) files in one go. File size is estimated by
-// lseek to end.
+// Read (potentially big) files in one go. File size is estimated
+// by stat.
void *xmalloc_open_read_close(const char *filename, size_t *sizep)
{
char *buf;