diff mbox

[U-Boot,v2] SPL ext: cosmetic: correct error message in spl_load_image_ext()

Message ID 1466245277-24980-1-git-send-email-brain@jikos.cz
State Accepted
Commit 9ab165d8b05706284de0ee9bd402346c54ae6b15
Delegated to: Tom Rini
Headers show

Commit Message

Petr Kulhavy June 18, 2016, 10:21 a.m. UTC
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@jikos.cz>
CC: Guillaume GARDET <guillaume.gardet@free.fr>
CC: Tom Rini <trini@konsulko.com>
---
 common/spl/spl_ext.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini June 19, 2016, 2:13 p.m. UTC | #1
On Sat, Jun 18, 2016 at 12:21:17PM +0200, Petr Kulhavy wrote:

> 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@jikos.cz>
> CC: Guillaume GARDET <guillaume.gardet@free.fr>
> CC: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

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;
 	}