On Tue, Oct 08, 2019 at 10:00:57AM +0100, Alex Bennée wrote: > > Philippe Mathieu-Daudé <f4...@amsat.org> writes: > > > Various logging improvements as once: > > - Use 0x prefix for hex numbers > > You can use "%#"PRIxNN"" as an alternative I believe but anyway: >
Unless the value given to the formatting string is zero, then the "0x" prefix is not applied to the resulting string. > Reviewed-by: Alex Bennée <alex.ben...@linaro.org> Reviewed-by: Cleber Rosa <cr...@redhat.com>