mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
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>
This commit is contained in:
parent
3715a540c4
commit
bac17b78da
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue