]> git.dujemihanovic.xyz Git - u-boot.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)
commit3a3543db519478cd174e4554691f3d4828902c79
tree019d366b378a905a7be12a243c6d6ba686d8d313
parent4c4ccc5a0499cf2abdca95415caf7443c760a26d
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: 7f331941321 ("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