commit | 02e8a8241bb5fff315f3e721992220428f288b6d | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Tue Oct 15 21:46:03 2019 +0200 |
committer | Tom Rini <trini@konsulko.com> | Thu Oct 31 07:22:53 2019 -0400 |
tree | f853f2c6876329ed66b2f2e7c1cd763ec82d60cb | |
parent | 80e7e7c2aba5793a1e39592cd53de9e5aca96f0b [diff] |
lib: errno: check for unsupported error number If errno_str() is called with an unsupported error number, do not return a random pointer but a reasonable text. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>