]> git.dujemihanovic.xyz Git - u-boot.git/commit
lib: fix snprintf() for UTF-16 strings
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 29 Jan 2022 15:43:20 +0000 (16:43 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 5 Feb 2022 19:20:01 +0000 (20:20 +0100)
commitfe14f880500cd842eadd581b7261538bb9646b7f
tree41b16ec9289fbfd0feae9b2661a000c18934247f
parentb9b4cecf9bd5208269bd706965be8ceb215cdcaf
lib: fix snprintf() for UTF-16 strings

snprintf() must return the required buffer length.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/vsprintf.c