Commit bac17b78 authored by Jonathan Gray's avatar Jonathan Gray Committed by Tom Rini
Browse files

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: default avatarJonathan Gray <jsg@jsg.id.au>
parent 3715a540
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment