aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorJacob Kjaergaard <jacob.kjaergaard@prevas.dk>2014-12-10 13:44:27 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2014-12-10 13:44:27 +0100
commitbd7c1f2d13cd1f7927ec081e4f23ee0f0b079e9a (patch)
treedcacd3393b348b16009ba1d782150113d3595c34 /miscutils
parentcfcd2399b20998a374ad52a5fac353f77e6ec0f6 (diff)
downloadbusybox-w32-bd7c1f2d13cd1f7927ec081e4f23ee0f0b079e9a.tar.gz
busybox-w32-bd7c1f2d13cd1f7927ec081e4f23ee0f0b079e9a.tar.bz2
busybox-w32-bd7c1f2d13cd1f7927ec081e4f23ee0f0b079e9a.zip
flashcp: change BUFSIZE to 4k
some flash partitions can be smaller than the existing BUFSIZE thus write BUFSIZE will fail with "no space left on device" Signed-off-by: Jacob Kjaergaard <jacob.kjaergaard@prevas.dk> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/flashcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/flashcp.c b/miscutils/flashcp.c
index b526566a4..9bc588d14 100644
--- a/miscutils/flashcp.c
+++ b/miscutils/flashcp.c
@@ -21,7 +21,7 @@
21 21
22#define OPT_v (1 << 0) 22#define OPT_v (1 << 0)
23 23
24#define BUFSIZE (8 * 1024) 24#define BUFSIZE (4 * 1024)
25 25
26static void progress(int mode, uoff_t count, uoff_t total) 26static void progress(int mode, uoff_t count, uoff_t total)
27{ 27{