]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_selftest: support printing leading zeroes
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 7 Jul 2018 21:39:15 +0000 (23:39 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 25 Jul 2018 13:00:24 +0000 (15:00 +0200)
commit42e2b563f6faca0325d4c88f0a17742c02875020
tree228a21dbee626174c66c176ba69e19627771d173
parent49de24559df6d87bf83ac1a836ddc2620c91c667
efi_selftest: support printing leading zeroes

Allow specifying the precision when printing integers, e.g.

efi_st_printf("%.4u-%.2u-%.2u\n", year, month, day);

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