aboutsummaryrefslogtreecommitdiff
path: root/libbb/copyfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/copyfd.c')
-rw-r--r--libbb/copyfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/copyfd.c b/libbb/copyfd.c
index 0b850884b..fcae8d3f7 100644
--- a/libbb/copyfd.c
+++ b/libbb/copyfd.c
@@ -32,7 +32,7 @@ static ssize_t bb_full_fd_action(int src_fd, int dst_fd, size_t size)
32 while (!size || total < size) 32 while (!size || total < size)
33 { 33 {
34 ssize_t wrote, xread; 34 ssize_t wrote, xread;
35 35
36 xread = safe_read(src_fd, buffer, 36 xread = safe_read(src_fd, buffer,
37 (!size || size - total > BUFSIZ) ? BUFSIZ : size - total); 37 (!size || size - total > BUFSIZ) ? BUFSIZ : size - total);
38 38
@@ -53,7 +53,7 @@ static ssize_t bb_full_fd_action(int src_fd, int dst_fd, size_t size)
53 break; 53 break;
54 } 54 }
55 } 55 }
56 56
57out: 57out:
58 RELEASE_CONFIG_BUFFER(buffer); 58 RELEASE_CONFIG_BUFFER(buffer);
59 59