aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-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)
203 return read_close(fd, buf, size); 203 return read_close(fd, buf, size);
204} 204}
205 205
206// Read (potentially big) files in one go. File size is estimated by 206// Read (potentially big) files in one go. File size is estimated
207// lseek to end. 207// by stat.
208void *xmalloc_open_read_close(const char *filename, size_t *sizep) 208void *xmalloc_open_read_close(const char *filename, size_t *sizep)
209{ 209{
210 char *buf; 210 char *buf;