From: Andrij Abyzov <drolevar@xxxxxxxxx> flashcp was always showing 0% progress due to incorrect printf format specifier. Signed-off-by: Andrij Abyzov <drolevar@xxxxxxxxx> --- misc-utils/flashcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc-utils/flashcp.c b/misc-utils/flashcp.c index 0718733..c46a5b4 100644 --- a/misc-utils/flashcp.c +++ b/misc-utils/flashcp.c @@ -357,7 +357,7 @@ int main (int argc,char *argv[]) if (size < BUFSIZE) i = size; if (flags & FLAG_VERBOSE) log_printf (LOG_NORMAL, - "\rVerifying data: %dk/%lluk (%lu%%)", + "\rVerifying data: %dk/%lluk (%llu%%)", KB (written + i), KB ((unsigned long long)filestat.st_size), PERCENTAGE (written + i,(unsigned long long)filestat.st_size)); -- 2.20.1.windows.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/