diff options
| author | Mark Kettenis <[email protected]> | 2022-04-26 19:24:38 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-05-05 19:37:11 -0400 |
| commit | 616571804a01f032bc43fa4fdeb42f00cb90513c (patch) | |
| tree | a823ce478ea137f7e5f66247ca1f0084ab984cb1 /tools/image-host.c | |
| parent | 8b42439ad19f1b3920541c357d5d7e9593adc420 (diff) | |
tools: mkimage: Avoid ENODATA in host tools
ENODATA isn't part of POSIX. Use EINVAL instead.
Signed-off-by: Mark Kettenis <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'tools/image-host.c')
| -rw-r--r-- | tools/image-host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/image-host.c b/tools/image-host.c index ab6f756cf1b..698adfb3e1d 100644 --- 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 = -ENODATA; + ret = -EINVAL; goto out; } |
