coding style: fix print of hex values as decimal
authorAntonio Borneo <borneo.antonio@gmail.com>
Mon, 6 May 2019 12:22:06 +0000 (14:22 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Wed, 8 Jul 2020 21:07:56 +0000 (22:07 +0100)
commitbf346292942868db6ed8a71e2c4c8b8359d6d300
tree32dc24fad6c72c7b3083f71de50a4fe08d1e9c95
parentf29d157882a756e562d224dd128eea1bbe3e3813
coding style: fix print of hex values as decimal

It is an error to prefix with "0x" the print of values in decimal.
Replace the incorrect decimal format specifier with PRIx32.

Issue identified by checkpatch script from Linux kernel v5.1 using
the command

find src/ -type f -exec ./tools/scripts/checkpatch.pl \
-q --types PRINTF_0XDECIMAL -f {} \;

Change-Id: I2eb867ef654527b2737ba573a405ec8f97c6a739
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5624
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
src/flash/nor/pic32mx.c
src/target/image.c