summaryrefslogtreecommitdiffstats
path: root/commands/memtest.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-11-06 16:10:42 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-11-06 16:10:42 +0100
commit1d9295b344a885e5a79de38df28740a1db6f6103 (patch)
treeca427bbf13a04f3480fb398630473bede4ef6463 /commands/memtest.c
parent736a74ba7a1c3983105b92a709c263e206fe3913 (diff)
parent6face0e8ab8d97dcc7284a8a5d7ae1f4d134798f (diff)
downloadbarebox-1d9295b344a885e5a79de38df28740a1db6f6103.tar.gz
Merge branch 'for-next/misc'
Diffstat (limited to 'commands/memtest.c')
-rw-r--r--commands/memtest.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/commands/memtest.c b/commands/memtest.c
index 691b388..d784a5c 100644
--- a/commands/memtest.c
+++ b/commands/memtest.c
@@ -129,8 +129,11 @@ static int do_memtest(int argc, char *argv[])
goto out;
for (i = 1; (i <= max_i) || !max_i; i++) {
+ printf("Start iteration %u", i);
if (max_i)
- printf("Start iteration %u of %u.\n", i, max_i);
+ printf(" of %u.\n", max_i);
+ else
+ putchar('\n');
if (cached) {
printf("Do memtest with caching enabled.\n");