mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
tools: mkimage: Avoid ENODATA in host tools
ENODATA isn't part of POSIX. Use EINVAL instead. Signed-off-by: Mark Kettenis <kettenis@openbsd.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
8b42439ad1
commit
616571804a
1 changed files with 1 additions and 1 deletions
|
@ -1205,7 +1205,7 @@ int fit_pre_load_data(const char *keydir, void *keydest, void *fit)
|
||||||
if (!key_name)
|
if (!key_name)
|
||||||
printf("The property key-name is missing in the node %s\n",
|
printf("The property key-name is missing in the node %s\n",
|
||||||
IMAGE_PRE_LOAD_PATH);
|
IMAGE_PRE_LOAD_PATH);
|
||||||
ret = -ENODATA;
|
ret = -EINVAL;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue