memtest: cleanup error handling
Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
0af79fbb67
commit
9880cd69f4
|
@ -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[] =
|
||||
|
|
Loading…
Reference in New Issue