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>
This commit is contained in:
parent
cfcd2399b2
commit
bd7c1f2d13
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user