Signed-off-by: Alexander Aring <alex.aring@xxxxxxxxx> --- commands/memtest.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/memtest.c b/commands/memtest.c index a71576e..dc05e9e 100644 --- a/commands/memtest.c +++ b/commands/memtest.c @@ -232,12 +232,12 @@ out: if (ret == -EINTR) printf("\n"); - printf("Memtest failed.\n"); + printf("Memtest failed. Error: %d\n", ret); return 1; - } else { - printf("Memtest successful.\n"); - return 0; } + + printf("Memtest successful.\n"); + return 0; } static const __maybe_unused char cmd_memtest_help[] = -- 1.9.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox