diff options
author | Jonathan Gray <jsg@jsg.id.au> | 2016-09-03 08:30:14 +1000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-09-07 08:49:06 -0400 |
commit | bac17b78daceeba1af2e1d8cd204ee460c71c93a (patch) | |
tree | bc153d9333aeb1f69a9eeb56e638018136c65324 /common | |
parent | 3715a540c49335532fb0f75f5b18bc9e269f4471 (diff) | |
download | u-boot-imx-bac17b78daceeba1af2e1d8cd204ee460c71c93a.zip u-boot-imx-bac17b78daceeba1af2e1d8cd204ee460c71c93a.tar.gz u-boot-imx-bac17b78daceeba1af2e1d8cd204ee460c71c93a.tar.bz2 |
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 <jsg@jsg.id.au>
Diffstat (limited to 'common')
-rw-r--r-- | common/image-fit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/image-fit.c b/common/image-fit.c index f833fe3..9ce68f1 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; |