diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2015-11-06 16:10:42 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-11-06 16:10:42 +0100 |
commit | 1d9295b344a885e5a79de38df28740a1db6f6103 (patch) | |
tree | ca427bbf13a04f3480fb398630473bede4ef6463 /commands/memtest.c | |
parent | 736a74ba7a1c3983105b92a709c263e206fe3913 (diff) | |
parent | 6face0e8ab8d97dcc7284a8a5d7ae1f4d134798f (diff) | |
download | barebox-1d9295b344a885e5a79de38df28740a1db6f6103.tar.gz |
Merge branch 'for-next/misc'
Diffstat (limited to 'commands/memtest.c')
-rw-r--r-- | commands/memtest.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/commands/memtest.c b/commands/memtest.c index 691b388907..d784a5c0e2 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"); |