stubom: newlib: Enable C99 formats for %z
authorJason Andryuk <jandryuk@gmail.com>
Thu, 6 May 2021 13:59:13 +0000 (09:59 -0400)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 7 May 2021 18:50:50 +0000 (19:50 +0100)
commit244fdf0027b223cc7f402783c1c6084e179e7064
tree591b121090cf70d67507f132d751589e5f2c35b2
parent15a59d6ef3acdd816578eecca7a9247fd38bdf99
stubom: newlib: Enable C99 formats for %z

vtpmmgr was changed to print size_t with the %z modifier, but newlib
isn't compiled with %z support.  So you get output like:

root seal: zu; sector of 13: zu
root: zu v=zu
itree: 36; sector of 112: zu
group: zu v=zu id=zu md=zu
group seal: zu; 5 in parent: zu; sector of 13: zu
vtpm: zu+zu; sector of 48: zu

Enable the C99 formats in newlib so vtpmmgr prints the numeric values.

Fixes: 9379af08ccc0 ("stubdom: vtpmmgr: Correctly format size_t with %z when printing.")
Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: Daniel P. Smith <dpsmith@apertussolutions.com>
stubdom/Makefile