]> git.gag.com Git - fw/openocd/blobdiff - src/flash/nor/stm32lx.c
flash: use proper format with uint32_t
[fw/openocd] / src / flash / nor / stm32lx.c
index 34c7408b012fd53bbe279d56ed092b55ee760154..3cb1a499824a23bd0473754b7368559b7743e167 100644 (file)
@@ -446,7 +446,7 @@ static int stm32lx_write_half_pages(struct flash_bank *bank, const uint8_t *buff
 
        /* Make sure we're performing a half-page aligned write. */
        if (count % hp_nb) {
-               LOG_ERROR("The byte count must be %" PRIu32 "B-aligned but count is %" PRIi32 "B)", hp_nb, count);
+               LOG_ERROR("The byte count must be %" PRIu32 "B-aligned but count is %" PRIu32 "B)", hp_nb, count);
                return ERROR_FAIL;
        }