flash/stmqspi: minor fixes on coding style
[fw/openocd] / src / flash / nor / sh_qspi.c
index 1ba9753392e691772e09e1bbdcadeacf57c0b9bb..4ec7ebe6584a51a94d75213dfc2a2dfe56cb2b05 100644 (file)
@@ -508,7 +508,7 @@ static int sh_qspi_write(struct flash_bank *bank, const uint8_t *buffer,
        }
 
        if (offset & 0xff) {
-               LOG_ERROR("sh_qspi_write_page: unaligned write address: %08x",
+               LOG_ERROR("sh_qspi_write_page: unaligned write address: %08" PRIx32,
                          offset);
                return ERROR_FAIL;
        }