X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fflash%2Fnor%2Fstellaris.c;h=8584843f796e20c84dc812f5f4ea9f501d61e190;hb=a34345451deaa952b8b868d2dd74954035f503c5;hp=b5e101010a7f9dca81fc94636c071daead3312ec;hpb=134df4b701a343acc598d111986570bc90eb675d;p=openocd.git diff --git a/src/flash/nor/stellaris.c b/src/flash/nor/stellaris.c index b5e101010a..8584843f79 100644 --- a/src/flash/nor/stellaris.c +++ b/src/flash/nor/stellaris.c @@ -641,7 +641,8 @@ static int stellaris_protect_check(struct flash_bank *bank) status = target_read_u32(bank->target, SCB_BASE + (i ? (FMPPE0 + 4 * i) : FMPPE), &lockbits); - LOG_DEBUG("FMPPE%d = %#8.8x (status %d)", i, lockbits, status); + LOG_DEBUG("FMPPE%d = %#8.8x (status %d)", i, + (unsigned) lockbits, status); if (status != ERROR_OK) goto done;