]> git.baikalelectronics.ru Git - uboot.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)
commitdafb3d24b37f8b1b5924bcd45c70cfc61ab34bc2
treea823ce478ea137f7e5f66247ca1f0084ab984cb1
parentd7f419acd745314bb155a21ddec1fdeb93451a2c
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