Re: [U-Boot] [PATCH 1/2] lib: errno: check for unsupported errors

2019-10-06 Thread Heinrich Schuchardt
On 10/6/19 2:33 PM, Heinrich Schuchardt wrote: 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 This mail was sent by mistake. The correct patch is [PATCH 1/2] lib: errno: check for unsupported

[U-Boot] [PATCH 1/2] lib: errno: check for unsupported errors

2019-10-06 Thread Heinrich Schuchardt
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 --- lib/errno_str.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/errno_str.c b/lib/errno_str.c index fbe56395d1..2