summaryrefslogtreecommitdiff
path: root/libbb/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/read.c')
-rw-r--r--libbb/read.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/read.c b/libbb/read.c
index 05bf754..502d407 100644
--- a/libbb/read.c
+++ b/libbb/read.c
@@ -124,11 +124,11 @@ char *xmalloc_reads(int fd, char *buf)
ssize_t read_close(int fd, void *buf, size_t size)
{
- int e;
+ /*int e;*/
size = full_read(fd, buf, size);
- e = errno;
+ /*e = errno;*/
close(fd);
- errno = e;
+ /*errno = e;*/
return size;
}