]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: mkimage: Avoid ENODATA in host tools
authorMark Kettenis <kettenis@openbsd.org>
Tue, 26 Apr 2022 17:24:38 +0000 (19:24 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 5 May 2022 23:37:11 +0000 (19:37 -0400)
commit616571804a01f032bc43fa4fdeb42f00cb90513c
treea823ce478ea137f7e5f66247ca1f0084ab984cb1
parent8b42439ad19f1b3920541c357d5d7e9593adc420
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>
tools/image-host.c