diff --git a/common/bootm.c b/common/bootm.c index d62d011..12d3ee0 100644 --- a/common/bootm.c +++ b/common/bootm.c @@ -294,6 +294,7 @@ if (ft != filetype_oftree) { printf("%s is not an oftree but %s\n", oftree, file_type_to_string(ft)); + return -EINVAL; } data->of_root_node = of_unflatten_dtb(NULL, fdt);