From: Jonathan Gray Date: Fri, 2 Sep 2016 22:30:14 +0000 (+1000) Subject: image-fit: switch ENOLINK to ENOENT X-Git-Tag: v2016.09~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bac17b78daceeba1af2e1d8cd204ee460c71c93a;p=u-boot image-fit: switch ENOLINK to ENOENT ENOLINK is not required by POSIX and does not exist on OpenBSD and likely other systems. Signed-off-by: Jonathan Gray --- diff --git a/common/image-fit.c b/common/image-fit.c index f833fe32ce..9ce68f1c21 100644 --- a/common/image-fit.c +++ b/common/image-fit.c @@ -1566,7 +1566,7 @@ int fit_get_node_from_config(bootm_headers_t *images, const char *prop_name, noffset = fit_conf_get_prop_node(fit_hdr, cfg_noffset, prop_name); if (noffset < 0) { debug("* %s: no '%s' in config\n", prop_name, prop_name); - return -ENOLINK; + return -ENOENT; } return noffset;