cmd: mem: Correctly count the errors in mtest
authorStefan Roese <sr@denx.de>
Thu, 5 Mar 2020 06:21:29 +0000 (07:21 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 17 Apr 2020 16:32:36 +0000 (12:32 -0400)
commita8c708ea9f84cf637bb2bd5cfdcfd2dbbe71b86f
tree43dfb3032fae1ffd63fb1622792a329e279714bf
parent71126d53df7aea9abb42b99b69c8d8b9cb5aa043
cmd: mem: Correctly count the errors in mtest

This patch changes mtest to correctly count the overall errors and
print them even in the abort (Ctrl-C) case.

Signed-off-by: Stefan Roese <sr@denx.de>
cmd/mem.c