From: Przemyslaw Marczak Date: Mon, 20 Apr 2015 18:07:40 +0000 (+0200) Subject: lib: Kconfig: add entry for errno_str() function X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=6501ff6251d472177c68d628fe34ca03cb7f2287;p=u-boot.git lib: Kconfig: add entry for errno_str() function Signed-off-by: Przemyslaw Marczak Acked-by: Simon Glass --- diff --git a/lib/Kconfig b/lib/Kconfig index 0454a86a02..5b6cf3d68d 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -82,4 +82,12 @@ config SHA_PROG_HW_ACCEL is performed in hardware. endmenu +config ERRNO_STR + bool "Enable function for getting errno-related string message" + help + The function errno_str(int errno), returns a pointer to the errno + corresponding text message: + - if errno is null or positive number - a pointer to "Success" message + - if errno is negative - a pointer to errno related message + endmenu