X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fnor%2Fstm32lx.c;fp=src%2Fflash%2Fnor%2Fstm32lx.c;h=3cb1a499824a23bd0473754b7368559b7743e167;hp=34c7408b012fd53bbe279d56ed092b55ee760154;hb=e66593f8242d49dd05f6b9c4a5121fa466a158aa;hpb=2f62883161fe4cdc32826a7bc6826ad82516233e diff --git a/src/flash/nor/stm32lx.c b/src/flash/nor/stm32lx.c index 34c7408b01..3cb1a49982 100644 --- a/src/flash/nor/stm32lx.c +++ b/src/flash/nor/stm32lx.c @@ -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; }