diff options
Diffstat (limited to 'commands/memtest.c')
-rw-r--r-- | commands/memtest.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/commands/memtest.c b/commands/memtest.c index a71576eeb9..dc05e9ed27 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[] = |