projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b42439
)
tools: mkimage: Avoid ENODATA in host tools
author
Mark Kettenis
<kettenis@openbsd.org>
Tue, 26 Apr 2022 17:24:38 +0000
(19:24 +0200)
committer
Tom Rini
<trini@konsulko.com>
Thu, 5 May 2022 23:37:11 +0000
(19:37 -0400)
ENODATA isn't part of POSIX. Use EINVAL instead.
Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
tools/image-host.c
patch
|
blob
|
history
diff --git
a/tools/image-host.c
b/tools/image-host.c
index ab6f756cf1bffd5735d3675bb91ec90b20babcfb..698adfb3e1d4db1372778a978bb8d5760ce9f10b 100644
(file)
--- a/
tools/image-host.c
+++ b/
tools/image-host.c
@@
-1205,7
+1205,7
@@
int fit_pre_load_data(const char *keydir, void *keydest, void *fit)
if (!key_name)
printf("The property key-name is missing in the node %s\n",
IMAGE_PRE_LOAD_PATH);
- ret = -E
NODATA
;
+ ret = -E
INVAL
;
goto out;
}