]> git.baikalelectronics.ru Git - uboot.git/commit
lib: Suppress E when writing error-string output
authorSimon Glass <sjg@chromium.org>
Sun, 30 Jul 2023 17:15:13 +0000 (11:15 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 9 Aug 2023 15:31:11 +0000 (23:31 +0800)
commitb9549803140c7c3c3c64cc4848808a2fd9d6340a
tree019d366b378a905a7be12a243c6d6ba686d8d313
parentfcaed2d410b120e2c66d44847a346dffcdcb34fa
lib: Suppress E when writing error-string output

When CONFIG_ERRNO_STR is not enabled this shows a spurious 'E' from the
format string. Fix this.

Fixes: ded298a7e13 ("lib: Support printing an error string")
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
lib/vsprintf.c