From: Jacob Kjaergaard Date: Wed, 10 Dec 2014 12:44:27 +0000 (+0100) Subject: flashcp: change BUFSIZE to 4k X-Git-Tag: 1_23_0~11 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bd7c1f2d13cd1f7927ec081e4f23ee0f0b079e9a;p=oweals%2Fbusybox.git 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 Signed-off-by: Denys Vlasenko --- 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 @@ #define OPT_v (1 << 0) -#define BUFSIZE (8 * 1024) +#define BUFSIZE (4 * 1024) static void progress(int mode, uoff_t count, uoff_t total) {