jtag: use proper format with uint32_t
[fw/openocd] / src / jtag / core.c
index b8d0b74c0111e891910fb55db77ecb52449e1573..03a26bec21af6894ee347935931f4d9933bb19cc 100644 (file)
@@ -1290,7 +1290,7 @@ static int jtag_examine_chain(void)
 
                if ((idcode & 1) == 0) {
                        /* Zero for LSB indicates a device in bypass */
-                       LOG_INFO("TAP %s does not have valid IDCODE (idcode=0x%x)",
+                       LOG_INFO("TAP %s does not have valid IDCODE (idcode=0x%" PRIx32 ")",
                                        tap->dotted_name, idcode);
                        tap->hasidcode = false;
                        tap->idcode = 0;