]> git.dujemihanovic.xyz Git - u-boot.git/commit
lib: vsprintf: correct printing of Unicode strings
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 31 Aug 2018 19:31:29 +0000 (21:31 +0200)
committerAlexander Graf <agraf@suse.de>
Sun, 23 Sep 2018 19:55:29 +0000 (21:55 +0200)
commit31bd711cd03dde22484cf647b9abe498ae1b0c5f
treef83fb67555f930a3eb97c85715c7d397cb241eb0
parentf11a164b58860c3971e207a2e1cf1c033b9d0910
lib: vsprintf: correct printing of Unicode strings

The width and precision of the printf() function refer to the number of
characters not to the number of bytes printed.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/vsprintf.c