diff options
Diffstat (limited to 'libbb/read.c')
-rw-r--r-- | libbb/read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/read.c b/libbb/read.c index 861828da1..c05b26b50 100644 --- a/libbb/read.c +++ b/libbb/read.c | |||
@@ -129,7 +129,7 @@ void *xmalloc_open_read_close(const char *filename, size_t *sizep) | |||
129 | buf = xmalloc(size + 1); | 129 | buf = xmalloc(size + 1); |
130 | size = read_close(fd, buf, size); | 130 | size = read_close(fd, buf, size); |
131 | if ((ssize_t)size < 0) | 131 | if ((ssize_t)size < 0) |
132 | bb_perror_msg_and_die("'%s'", filename); | 132 | bb_perror_msg_and_die("'%s'", filename); |
133 | xrealloc(buf, size + 1); | 133 | xrealloc(buf, size + 1); |
134 | buf[size] = '\0'; | 134 | buf[size] = '\0'; |
135 | if (sizep) *sizep = size; | 135 | if (sizep) *sizep = size; |