[U-Boot] [PATCH v2] SPL ext: cosmetic: correct error message in spl_load_image_ext()
Petr Kulhavy
brain at jikos.cz
Sat Jun 18 12:21:17 CEST 2016
Correct the error message in spl_load_image_ext() when image parsing
fails. Instead of "ext4fs_read failed" print "failed to parse image
header".
Signed-off-by: Petr Kulhavy <brain at jikos.cz>
CC: Guillaume GARDET <guillaume.gardet at free.fr>
CC: Tom Rini <trini at konsulko.com>
---
common/spl/spl_ext.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/spl/spl_ext.c b/common/spl/spl_ext.c
index ade5496..11931d3 100644
--- a/common/spl/spl_ext.c
+++ b/common/spl/spl_ext.c
@@ -50,7 +50,7 @@ int spl_load_image_ext(struct blk_desc *block_dev,
err = spl_parse_image_header(header);
if (err < 0) {
- puts("spl: ext4fs_read failed\n");
+ puts("spl: ext: failed to parse image header\n");
goto end;
}
--
2.5.0
More information about the U-Boot
mailing list