9
0
Fork 0

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:
Alexander Aring 2014-04-10 14:04:04 +02:00 committed by Sascha Hauer
parent 0af79fbb67
commit 9880cd69f4
1 changed files with 4 additions and 4 deletions

View File

@ -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[] =