]> git.sur5r.net Git - u-boot/commitdiff
SPL ext: cosmetic: correct error message in spl_load_image_ext()
authorPetr Kulhavy <brain@jikos.cz>
Sat, 18 Jun 2016 10:21:17 +0000 (12:21 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 19 Jun 2016 13:57:48 +0000 (09:57 -0400)
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

index 89ac4f42976733bda979423ac716068dddbcf25a..a85dc85ffef76e97a96750337471573df404957f 100644 (file)
@@ -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;
        }